[Last Call] Learn how to a build a cloud-first strategyRegister Now


How to use Tamil(Indian) language with VB6 ?

Posted on 2011-10-31
Medium Priority
Last Modified: 2012-05-12
Hi experts!

I have a VB6 application for international usage. As I know VB6 is Unicode complain till now I have no problems. But now I get problem with Tamil (Indian language). So I installed it on computer and when type in Notepad all is OK with English and Tamil. But in my VB6 text box (more detail for VSFlexGrid) it is not OK. When I type in Tamil I see just ???

I think this is because I set MS San Serif for my textbox and it do not support Tamil. The system font should support Tamil.  So may be the question is -  How to get system font and set it to my text box??? Or what I need to be able to work with all installed fonts?

Question by:dvplayltd
  • 2
LVL 32

Accepted Solution

Robberbaron (robr) earned 2000 total points
ID: 37062190
many VB6 controls DO NOT support unicode.  http://www.cyberactivex.com/UnicodeTutorialVb.htm
Although Visual Basic 6.0 stores strings internally as Unicode(UTF-16) it has several limitations:

   1. Ships with ANSI only controls (Label, Textbox, etc.).
   2. Properties Window in IDE is ANSI only. Unicode strings are displayed as '????'
   3. PropertyBag automatically converts Unicode strings to ANSI.
   4. Clipboard functions are ANSI only.
   5. Menus are ANSI only.


google vb6 unicode  for some links to replacement controls.

Author Comment

ID: 37063436
ok ..so you recomend me to replace the control with other support Unicode ? I use Component One Flex grid, it is better than textbox as I'm able to Copy/Paste correct Tamil langueage, but when type I see ???

Thank you very much - you give me direction where to search for.

Author Closing Comment

ID: 37063451

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question