-
May 29th, 2013, 05:17 AM
#1
Reading USB data in VB6 application.
Hello All,
I have an VB6 application that gets data from a lasergun by RS232 (COM). Now we are receiving PC's that only have USB ports. If I connect the laser gun by USB I can receive data, as an keyboard input. The problem is that I don't want to allow that the focus go to other thing, than the application as with the COM communication (that there's an component MSCOMM that manages that). Can anyone help me to get a solution? Is there some component or way to do this?
Thanks in adavnced
Eunice
-
May 29th, 2013, 03:27 PM
#2
Re: Reading USB data in VB6 application.
You can get a RS232 adapter that you can plug into a usb port and then connect the scanner to that as a RS232 device and continue doing it the way you were.
Trying to restrict focus to just a single field in your app could have some adverse effects you basically would not be able to use the pc for anything so long as your program was running.
Always use [code][/code] tags when posting code.
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
|