|
-
May 22nd, 2000, 01:35 AM
#1
Thread Starter
Lively Member
Need some help. I'm trying to send control codes in hexadecimal format to a barcode scanner that is connected to a com port. Does anyone have any idea how to do this? The com port opens, but when I try to send a simulated keystroke to the scanner, it either does nothing or receives junk.
Example: Trying to send "ESC" (Hex 9B) to the scanner to bring it to the main menu.
I will persue any and all solutions.
Using Visual Basic 6.
TIA
-
May 22nd, 2000, 04:46 PM
#2
Frenzied Member
I presume you've tried sendkeys {ESC}
isn't escape 27 or hex 1B ?
I've only done a little bit of sending control chars to a serial port and that was with an MSComm control
MSComm1.Output = Chr$(27)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|