How to use Tamil(Indian) language with VB6 ?

Posted on 2011-10-31
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
    LVL 32

    Accepted Solution

    many VB6 controls DO NOT support unicode.
    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

    ok 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


    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
    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…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now