Re: VB6 program execution problems on seperate windows versions

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



> both returned gibberish result in chinese
> win2k professional. I tried using both chinese version vb compile and
> english vb compile.

Are you sure that the parity and the number of bits are the same in VB and
HyperTerminal? Did you set InputMode to binary?

What is the LocaleID for the chinese OS? You can find it using the following
sample:

Private Declare Function GetThreadLocale Lib "kernel32" () As Long

Debug.Print GetThreadLocale()

I don't know if the problem that you are having is as a result of ANSI to
Unicode conversion issue. Here is one way to find out:

- Connect RXD wire on COM1 to RXD wire on COM2. See which pins to use here:

http://www.hardwarebook.net/connector/serial/serial9.html
http://www.hardwarebook.net/connector/serial/serial25.html

- Use a serial terminal software on COM2 that can view the data in Hex
format.
- Compare what you are getting in VB6 with what the terminal software shows
and post the result.

You may find this reference useful:

http://www.microsoft.com/globaldev/

When you move the mouse over "References" on the left menu, you could see
the list of code pages, locale ID's, keyboard layouts and other useful
information. When you select a particular code page, you will see a GIF that
shows a table showing what each character looks like.



"mandeep" <mandeep.singh.bhatia@xxxxxxxxx> wrote in message
news:1130238801.178565.297380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I found that the error &h8007007e was taken away after installing ms
> office to the computer.
> The mscomm control and an alternative 3rd party control(port controller
> from scientificcomponents) both returned gibberish result in chinese
> win2k professional. I tried using both chinese version vb compile and
> english vb compile.
>


.



Relevant Pages

  • Re: Will Multibyte app work for Chinese users?
    ... >A Chinese user running Simplified Chinese Win2000 pro has reported ... >and compile with Unicode support. ... Will multibyte compilation solve my problem with Chinese ...
    (microsoft.public.vc.mfc)
  • Re: How to find utf8.enc?
    ... which produces an error when I try to compile: ... Couldn't open encmap utf8.enc: ... Czech or Chinese. ... The various Unicode help files I have looked at make ...
    (comp.lang.perl.misc)
  • Re: A strange problem
    ... Chinese codes is: ... > then I try to run the machine on a chinese machine, ... > Program can run on chinese machine normally but crashed on english machine ... > if compile the program on chinese machine. ...
    (microsoft.public.vc.mfc)
  • How to switch form resource file ?
    ... How to switch form resource file? ... I have a project developed by Chinese. ... I want to compile an English version. ...
    (microsoft.public.dotnet.languages.csharp)
  • We need Language Exchange Partners, we can teach you Chinese (Mandarin)
    ... We can teach you Chinese (Mandarin) in exchange. ... I want to learn: English ... Thomas Xu, 27 years old, China ...
    (soc.culture.taiwan)