|
-
Dec 15th, 2005, 12:09 PM
#1
Thread Starter
Addicted Member
[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 "?".
-
Dec 15th, 2005, 12:14 PM
#2
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.
-
Dec 15th, 2005, 12:15 PM
#3
Thread Starter
Addicted Member
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.
-
Dec 15th, 2005, 12:40 PM
#4
Re: Font problem
"VB Help" has nothing to do with what you're after...
Multilanguage support isn't easy to implement in VB6. Perhaps the following link will give you some idea:
Internationalization with Visual Basic
Good luck.
-
Dec 15th, 2005, 12:45 PM
#5
Thread Starter
Addicted Member
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.
-
Dec 15th, 2005, 12:51 PM
#6
Re: Font problem
 Originally Posted by ajames
... I'm not the sort of person who buys vb Books 
In that case you're on your own, man.
-
Dec 15th, 2005, 12:54 PM
#7
Re: Font problem
 Originally Posted by ajames
... would require thousands of lines of code?...
I wouldn't say so although it is an advanced stuff.
-
Dec 15th, 2005, 12:56 PM
#8
Thread Starter
Addicted Member
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?
-
Dec 15th, 2005, 12:57 PM
#9
Re: Font problem
 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.
-
Dec 15th, 2005, 01:43 PM
#10
Thread Starter
Addicted Member
Re: Font problem
So can anyone give me a guideline how to do it? Preferably free? That's what vbforums is for, right?
-
Dec 15th, 2005, 01:47 PM
#11
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.
-
Dec 15th, 2005, 01:49 PM
#12
Thread Starter
Addicted Member
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.)
-
Dec 15th, 2005, 02:34 PM
#13
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).
-
Dec 16th, 2005, 12:05 PM
#14
Thread Starter
Addicted Member
Re: Font problem
That control (button) seemed to work. Has anyone got a control for unicode textboxes?
-
Dec 16th, 2005, 12:11 PM
#15
Re: Font problem
 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
-
Dec 16th, 2005, 01:59 PM
#16
Re: Font problem
Is there some problem with RTB's?
-
Dec 17th, 2005, 02:22 PM
#17
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|