boyguitar1
Member level 1
Hello...
Now i'm need to send some command via serial port but I found the issue below.
Example:
1. use VB6
and I used program Free Serial Port Monitor check the command.
I can see as " C0 26 " This is correct!!
2. 1. use VB2008
and also I used program Free Serial Port Monitor check the command.
I can see as " 3F 26 " this not correct!! (0x3F = Chr ? = Dec 63 )
Why ???????
Please help me why not ??? or My code is incorrect ??
I tried to do many code but not work!! for VB2008
Thank in advance
boy...
Now i'm need to send some command via serial port but I found the issue below.
Example:
1. use VB6
Code:
MSComm1.Output = Chr(192) & Chr(38)
I can see as " C0 26 " This is correct!!
2. 1. use VB2008
Code:
SerialPort1.Write(Chr(192) & Chr(38))
I can see as " 3F 26 " this not correct!! (0x3F = Chr ? = Dec 63 )
Why ???????
Please help me why not ??? or My code is incorrect ??
I tried to do many code but not work!! for VB2008
Thank in advance
boy...