Interfacing with a barcode scanner

  • Thread starter Thread starter Jay
  • Start date Start date
J

Jay

I'd like to be able to capture barcode scans (ISBNs of books) from a barcode scanner.

I already have a barcode scanner which has a USB interface, and by default the scanner acts like a
second keyboard, putting ISBNs at the text cursor for the application that has focus.

I would instead like the ISBNs to go into a Visual C#.net programme that I am writing.

The scanner comes with a driver that can be installed to make it act like a COM port. From the
installation instructions: "The device will be mapped in the first free COM, after all physical and
virtual COMs already installed in your system."

So I need to capture the data from this com port.

I'm a relative beginner to Windows programming - does anyone have any advice or tips or sample code
or web links on how to capture the data from the com port?

Thanks in anticipation...
 
Back
Top