Barcode scanning in VB.net \ Keyboard Buffer

D

Dan

I have an application that uses a COM port barcode scanner. This uses
a listener to notify the application when a barcode has been scanned.
The application now needs to be modified to use a Human Interface
Device scanner. This means I need to read in the barcode from the
keyboard input and notify the same listeners. This seemed relativly
easy until I went looking for the keyboard input stream. Does anyone
know where it is? (bearing in mind this will be called from a VB.Net
assembly and not a console application). Greatful of any help that can
be offered. Thank you.

Dan :)
 
J

Jeremy Cowles

Dan said:
I have an application that uses a COM port barcode scanner. This uses
a listener to notify the application when a barcode has been scanned.
The application now needs to be modified to use a Human Interface
Device scanner. This means I need to read in the barcode from the
keyboard input and notify the same listeners. This seemed relativly
easy until I went looking for the keyboard input stream. Does anyone
know where it is? (bearing in mind this will be called from a VB.Net
assembly and not a console application). Greatful of any help that can
be offered. Thank you.

Dan :)

Dan,

What model scanner are you working with? I suggest you use a Keyboard-wedge
scanner (aka synapse), mainly because you don't have to do *anything at all*
to make them work with your app. Also, what do you mean by "Human Interface
Device" scanner, is that something special? If you need some new equipment
(scanners, printers, etc...), our company specializes in this field. I could
probably get you a good price.

~
Jeremy
 
H

Herfried K. Wagner [MVP]

* (e-mail address removed) (Dan) scripsit:
I have an application that uses a COM port barcode scanner. This uses
a listener to notify the application when a barcode has been scanned.
The application now needs to be modified to use a Human Interface
Device scanner. This means I need to read in the barcode from the
keyboard input and notify the same listeners. This seemed relativly
easy until I went looking for the keyboard input stream. Does anyone
know where it is? (bearing in mind this will be called from a VB.Net
assembly and not a console application). Greatful of any help that can
be offered.

Did you have a look here?

<http://groups.google.com/groups?ie=UTF-8&scoring=d&q=group:*.dotnet*+"barcode+scanner">

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top