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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Look at the scanner jack.
If it looks like this:
, then it’s a
keyboard wedgescanner. It acts like a keyboard: just types your barcode into an edit field.If it looks like this:
, it’s a
serial portscanner.You need to create an instance of
System.IO.Ports.SerialPortand use it to communicate with the scanner.If it looks like this:
(source: datapro.net)
, it’s a
USBscanner. From programmer’s point of view, it can be either akeyboard wedgeor aserial portscanner. 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.