Re: VB6 program execution problems on seperate windows versions
- From: "vbexp" <nobody@xxxxxxx>
- Date: Tue, 25 Oct 2005 16:26:47 -0400
> 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.
>
.
- Follow-Ups:
- References:
- Prev by Date: Re: VB6 program execution problems on seperate windows versions
- Next by Date: Lost Up/Down Buddy Data.....
- Previous by thread: Re: VB6 program execution problems on seperate windows versions
- Next by thread: Re: VB6 program execution problems on seperate windows versions
- Index(es):
Relevant Pages
|