How to read data from Bar Code Scanner in .net windows application?
Can some one give the sequence of steps to be followed? I am very new to that.
Look at the scanner jack.
If it looks like this:
, then it's a keyboard wedge
scanner. It acts like a keyboard: just types your barcode into an edit field.
If it looks like this:
, it's a serial port
scanner.
You need to create an instance of System.IO.Ports.SerialPort
and use it to communicate with the scanner.
If it looks like this:
(source: datapro.net)
, it's a USB
scanner. From programmer's point of view, it can be either a keyboard wedge
or a serial port
scanner. You need to look at the manual, find out which is it and use one of the approaches above.
P.S. It will be easier if you post your scanner's model here, really.