Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.0
Hi dear Admin.
i'm a beginner in C# and i need force help to my problem.
i want to read barcode data from handheld device from USB port in C#.
but i do'nt know how i can do it. i google it but i cant find a tutorial to learning this subject. please help me. thanks so much.
Posted 12-Mar-13 8:37am
Comments
Jibesh at 12-Mar-13 15:29pm
   
what model of scanner device you are using? also the vendor?
Reza Nabiloo at 13-Mar-13 0:48am
   
thanks for attention
my device is : HoneyWell item : 7600EP 112 B6EE
ryanb31 at 12-Mar-13 17:00pm
   
Actually, a lot of barcode readers return strings and are very easy to work with. However, you'll have to start with the documentation for it.
Steve44 at 13-Mar-13 0:42am
   
The barcode readers I worked with had drivers that just generated keyboard events as if you entered the barcode number from a keyboard. To use these you just clicked on a textbox to give it focus to receive input events, scan the bar code and the barcode value is entered as text.
But for that to work your barcode reader needs to provide a driver that supports this input model, and to find this out you should consult your documentation.
Or do you need to write a driver for an USB handheld barcode reader?
Reza Nabiloo at 13-Mar-13 0:52am
   
Thanks for attention. No i want to write a program with c# to read data from reader device an do something in my data base with barcod data
but idont know how i start this and i dont no what i need to do
 
Jibesh at 13-Mar-13 13:19pm
   
What I have done in my case is. Download the USB-Serial Driver from Honewell site and wrote a serial port observer class to read the data. The device manual has the information on how to configure your device to behave your USB device as Serial Port device. read your manual on Programming-Interfacing scanner device.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.1411022.1 | Last Updated 12 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100