T
tim
Hi all
I have made a application that scans barcode. The barcode scanner is connect
to the PC via one of the USB ports.
The technique that I use is hidden textbox that constantly has the focus to
process the input on the keydown event. This works fine.
It goes wrong when the user clicks for instance on one of the listboxes.
Before start scanning the user has to click on a button on the toolbar first
to set the focus back on the textbox. In some other cases I can do that in
code.
My customer has problems to click on the button first to start scanning
again. My question is if there is a other method that constantly receives
input from a barcode scanner and process it. If have tried to monitor the
USB port but I can't figure it out how this works. What also interest me is
how other programs do this.
Hopefully someone can help me with suggestions, sample or websites with
information about this topic.
Thanks in advance.
Tim
O yes, I posted this message in two newsgroups because I develop in VB6
and/or .Net so don't' shout at me please.
I have made a application that scans barcode. The barcode scanner is connect
to the PC via one of the USB ports.
The technique that I use is hidden textbox that constantly has the focus to
process the input on the keydown event. This works fine.
It goes wrong when the user clicks for instance on one of the listboxes.
Before start scanning the user has to click on a button on the toolbar first
to set the focus back on the textbox. In some other cases I can do that in
code.
My customer has problems to click on the button first to start scanning
again. My question is if there is a other method that constantly receives
input from a barcode scanner and process it. If have tried to monitor the
USB port but I can't figure it out how this works. What also interest me is
how other programs do this.
Hopefully someone can help me with suggestions, sample or websites with
information about this topic.
Thanks in advance.
Tim
O yes, I posted this message in two newsgroups because I develop in VB6
and/or .Net so don't' shout at me please.