Reading USB data in VB6 application.
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
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.