Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using unicode Hindi font with VB

Status
Not open for further replies.

jefflehman

Instructor
May 7, 2003
1
IN
I am an absolute new beginner to Visual Basic, and I am trying to write a program which uses the unicode Hindi font. When I switch to unicode Hindi, or cut and paste from a document, it comes out as a series of ? marks.

I have been told that I need to embed the unicode font (which would give the added advantage of making it appear on computers that don't already have it installed).

I have tried using the Forms 2.0 controls, but without success. I know it is possible using the Forms 2.0 controls, because I have seen it done. But I just don't know how!

Could someone give a clear and simple explanation of how unicode fonts can be used in VB programs? Or direct to an explanation?

Remember, I am a beginner. I am using John Smiley's book, and I'm not even quite finished with it.

Thank you,

Jeff Lehman
 
This may not be doable. While the guts of Visual Basic are fully UCS-2 (Unicode 2-byte format), the forms engine isn't quite there, and is still ANSI (Latin-1 character set).

Do some more investigation, but if you should confirm this to be true, your options are to buy the Hindi-localized version of Visual Basic, or switch to VB.NET which is 100% UCS-2, and has better localization & internationalization (I18N) support.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top