Problem with different regional and language options in Windows

Posted on 2006-04-16
Last Modified: 2010-05-01

I developed a "working" program with Visual Basic 6.

Recently I changed the regional and language options of Windows XP (my machine) -> Language for Non-unicode programs. It was set as English (united States) previously when I was developing the program, but now, problems are occuring frequently after I  changed it to Chinese.

Does anyone faced this kind of problem before? Or anyone can give an idea what is going on? And does this problem also occur if you simply change the language other than English? I checked on the Internet and some refered this to the problem caused by the VB function 'strconv' which I used in my program.

Please help!! And please suggest any good solution to this!
Question by:gan_penny
    LVL 22

    Expert Comment

    Please explain exactly what problems you are experiencing. Are you trying to make your application display Chinese or are you just testing English program using Chinese Regional Settings? Where/how are you using StrConv? Are you using standard Vb intrinsic controls or Forms 2.0 object library?
    LVL 44

    Expert Comment

    by:Leigh Purvis
    Never having had this battle personally, I wouldn't really know if there are specific issues with moving your app over to using Chinese, but AFAIK *the* resource for internationalisation in VB is Michael Kaplan's literature - some of which will be here
    If you've already been there or there isn't relevant info somewhere there - there's probably loads more in his book.

    Author Comment

    Hi there,

    I've found the problem and solution on DI Management's web site (URL:

    My problem was actually caused by the Unicode system which stores a character in 2 bytes, while an ANSI system stores a character using 1 byte. I had my program developed under ANSI system and problems occured when I ran it on a Unicode system.

    For your info, I've built a simple program to test out a few VB functions to check their reliability issue on different system. I found out that Chr() and Asc() caused many problems. So what I did was to create a substitution function for each of them. I use Strconv() to do the conversion from byte to string, and vice versa.

    Thank you for your participation! =)

    Accepted Solution

    Closed, 250 points refunded.
    The Experts Exchange
    Community Support Moderator of all Ages

    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

    Suggested Solutions

    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 have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

    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

    22 Experts available now in Live!

    Get 1:1 Help Now