Results 1 to 17 of 17

Thread: [RESOLVED] Font problem

  1. #1

    Thread Starter
    Addicted Member ajames's Avatar
    Join Date
    Mar 2005
    Location
    Wales, UK
    Posts
    178

    Resolved [RESOLVED] Font problem

    How would I use characters other than Latin characters in VB6? I tried to use cyrillic, and the caption just showed up as "?".

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Font problem

    Do you have the fonts you wish to use installed on your machine?

    If so, they should show up in the Font dialog box.

  3. #3

    Thread Starter
    Addicted Member ajames's Avatar
    Join Date
    Mar 2005
    Location
    Wales, UK
    Posts
    178

    Re: Font problem

    I am using arial unicode MS, which (normally) lets me use cyrillic.

    EDIT: As per usual, VB help didnt help. At all.
    Last edited by ajames; Dec 15th, 2005 at 12:27 PM.

  4. #4

  5. #5

    Thread Starter
    Addicted Member ajames's Avatar
    Join Date
    Mar 2005
    Location
    Wales, UK
    Posts
    178

    Re: Font problem

    So even If I want to do something very simple, like displaying different symbols in a text box, i would require thousands of lines of code?

    P.S. I'm not the sort of person who buys vb Books
    Last edited by ajames; Dec 15th, 2005 at 12:48 PM.

  6. #6

  7. #7

  8. #8

    Thread Starter
    Addicted Member ajames's Avatar
    Join Date
    Mar 2005
    Location
    Wales, UK
    Posts
    178

    Re: Font problem

    And there is definately no option in prefrences to change the language of the form? (or anything similar?)

    i.e. could someone attempt to post code?

  9. #9
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Font problem

    Quote Originally Posted by ajames
    And there is definately no option in prefrences to change the language of the form? (or anything similar?)
    No. Language support is set at the OS level.

    Using an english keyboard, you could certainly type words in a different language, but if English is your default language, then you do not have any of the special character support that other languages require.

  10. #10

    Thread Starter
    Addicted Member ajames's Avatar
    Join Date
    Mar 2005
    Location
    Wales, UK
    Posts
    178

    Re: Font problem

    So can anyone give me a guideline how to do it? Preferably free? That's what vbforums is for, right?

  11. #11
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Font problem

    I think Merri has a few controls that can accept Unicode. I saw a link to it the other day, but didn't save it.

  12. #12

    Thread Starter
    Addicted Member ajames's Avatar
    Join Date
    Mar 2005
    Location
    Wales, UK
    Posts
    178

    Re: Font problem

    1) merri? who is merri? Who and where can i find him/her? Is s/he on vbf?

    2) so far i have enabled my computer to change the keyboard to cyrillic. (дугуиыф etc.)

  13. #13
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Font problem

    1) Yep, merri is the optimisation guru, as well as the creator of lots of useful code/controls.

    Here is his explanation of unicode in VB, and his controls can be found in the CodeBank (a quick search for threads there started by him will find them).

  14. #14

    Thread Starter
    Addicted Member ajames's Avatar
    Join Date
    Mar 2005
    Location
    Wales, UK
    Posts
    178

    Re: Font problem

    That control (button) seemed to work. Has anyone got a control for unicode textboxes?

  15. #15
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Font problem

    Quote Originally Posted by ajames
    That control (button) seemed to work. Has anyone got a control for unicode textboxes?
    Here is another Merri post. See Post #6

  16. #16
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: Font problem

    Is there some problem with RTB's?

  17. #17

    Thread Starter
    Addicted Member ajames's Avatar
    Join Date
    Mar 2005
    Location
    Wales, UK
    Posts
    178

    Re: Font problem

    Text boxes seem to work, now i just need to use merri's uniCommand buttons and I will have a working program!

    Thanks to everyone for your support: You've just saved me about £40!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width