Click here to Skip to main content
11,806,590 members (56,249 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#3.0 C#
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 7:37am
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)

  Print Answers RSS
0 ppolymorphe 245
1 OriginalGriff 150
2 George Jonsson 145
3 CPallini 100
4 Abhinav S 80
0 OriginalGriff 3,380
1 Maciej Los 1,990
2 CPallini 1,915
3 KrunalRohit 1,907
4 ppolymorphe 1,317

Advertise | Privacy | Mobile
Web01 | 2.8.151002.1 | Last Updated 12 Mar 2013
Copyright © CodeProject, 1999-2015
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