Switch between English and Chinese characters in msflexgrid and menu

Posted on 2007-10-05
Last Modified: 2013-12-26
I have a vb 6.0 app where I have to switch between English and Chinese.  I used msforms 2.0 where I could.  We are using Access 2000 with a table with one column the English captions and the other column the equivalent Chinese caption.  

The menu has an option to switch back and forth between English and Chinese.  All Chinese in my form displays properly when I have the Language for Non-Unicode Programs set to Chinese (PRC) under Advanced in the Regional and Language Options in the Control Panel, but  data I'm sending out and receiving on my serial port is screwed up.  

If I switch back to English for Language for Non-Unicode Programs, then my serial port communication is good.  But, when I select Chinese, then everything is then displayed in Chinese, except for the msflexgrid data and the menu bar.  I only get ??? for this data.  

Do I have to do some kind of a strconv to get this to work?  
Question by:pg6111
    LVL 22

    Accepted Solution

    Have you tried msflexgridH which is Unicode aware (msflexgrid is not)?

    Also there are 3rd party Unicode Grids which are part of a suite of Unicode controls such as:
       UniSuite ($407, 46 controls) -
       UniToolBox2 ($716, 17 controls) -
    The above packages also include Unicode aware menus.

    Changing to Unicode eliminates problems associated with non-Unicode OS settings and allows support of all languages installed on the underlying OS.

    Also see for information on using Unicode with Vb6.

    Author Comment

    I can't spend any money on extra controls.  I'll replace the msflexgrid with the mshflexgrid.  Most of the items in the menu bar, when clicked on, load another form, and aren't drop-down menu type items, so I'll replace them with rich text boxes, which I think will display the Chinese properly, or the msforms 2.0 text boxes.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
    The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
    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…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    779 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

    11 Experts available now in Live!

    Get 1:1 Help Now