Click here to Skip to main content
15,891,725 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi guys
I have a problem with writing unicode character in a text box in vb6
my pc have persian language and when I start to type in persian(FARSI) in Microsoft Forms 2.0 Textbox control it does show me wrong character
Can someone help me!
very thanks
Posted
Comments
amirrazzaqi 17-Jul-11 6:18am    
then I want to get the unicode number of each character and convert it to equivalent SHX AutoCAD font.

I'll have to agree with SAKryukov, you can download Visual Basic 2010 Express[^]. Usually upgrading to .net is well worth the effort.

Best regards
Espen Harlinn
 
Share this answer
 
Comments
thatraja 17-Jul-11 21:02pm    
5!
Sergey Alexandrovich Kryukov 17-Jul-11 22:48pm    
Agree, my 5.
--SA
Short and best answer: get rid of VB and try to forget it as soon as you can. VB6 controls don't support Unicode.

Most modern systems works with Unicode for a long time already. Showing so popular Unicode Perso-Arabic script http://en.wikipedia.org/wiki/Perso-Arabic_script[^] was never a problem.

Long and ugly way: it looks like there is a number of third-part Unicode controls for VB6.

Do this: http://en.lmgtfy.com/?q=VB6+Unicode[^] to see over 2 millions of results. However, I would say — don't torture yourself, stop using VB6.

—SA
 
Share this answer
 
v2
Comments
Espen Harlinn 17-Jul-11 16:36pm    
Good reply, my 5
Sergey Alexandrovich Kryukov 17-Jul-11 22:48pm    
Thank you, Espen.
--SA
thatraja 17-Jul-11 21:02pm    
Best way, 5!
Sergey Alexandrovich Kryukov 17-Jul-11 22:48pm    
Thank you, Raja.
Which one, in your opinion?
--SA
thatraja 17-Jul-11 22:50pm    
Stop using VB6
Here, full unicode support in both design mode and during runtime for VB6.

OptionButton
Checkbox
Label
CommandButton
File I/O
Clipboard I/O
Other routines for putting Unicode into the caption of any VB control with a hWnd,
including forms.

Just download from here and you're all set:

http://motionlabresources.org/Unicode%20&%20RTF%20for%20VB6.zip
 
Share this answer
 
v2
Comments
CHill60 11-Jul-14 20:58pm    
So ... I need to unzip a random file ... don't think so sunshine. The post is 3 years old ffs
Member 6050830 19-Jul-14 14:03pm    
CHill60, why don't you explain to us what the dangers are of unzipping (or un-7zipping) a file are. All you'll find is VB6 source code, no .EXE. And you've got a problem with solutions that are three years old? Hey, it's better than never, and lots of us still get LOTS of use out of VB6. So let's chill a bit.
CHill60 23-Jul-14 5:48am    
The dangers of following the link is that viruses and other malware can be hidden in files that claim to be zip files. It is impossible to tell that the zip is genuine and only contains source code without opening it.
Yes I have a problem with solutions posted 3 years later on an already answered post with what a lot of people would perceive as site-driving spam - I'm not the only one.
Can't respond to your comment about VB6 - I often help out members who are still using VB6 largely because the companies they work for are so short-sighted, don't understand why you included it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900