how can i use a barcode reader machine in visual basic programming?
how can i use a barcode reader machine in visual basic programming?
I want to use a barcode reader machine in a visual basic program. for example when barcode reader reads a value how can i show this value in a label?
Best answer:
bar code readers are just like keyboards..
you can have a text box and when the reader scans the barcode, the chars will be typed in the textbox… of course the textbox needs to have the focus…
Tags: Barcode, basic, machine, programming, reader, Visual
Under Forum

2 Comments for how can i use a barcode reader machine in visual basic programming?
1. ktracy_2k | June 23rd, 2010 at 10:08 am
Barcode scanners work exactly like a keyboard. Create your form with a textbox that accepts input. Make your focus on that textbox and scan the code. I’m not sure as I’ve only worked with them rarely, but you might also be able to have it capture keystrokes and write and algoryhtm to detect if it’s a barcode, but thats a little work intensive.
2. timc_fla | June 23rd, 2010 at 10:12 am
You need the drivers for the hardware and a dll to access the hardware.
the device should connect by USB/Parallel/Serial.
The driver gives you a hook into the device and the dll access the device and is your “window” to the device.
the dll should have various methods, events and properties to make it all work.
Otherwise, you are talking about low-level access and you better do a lot of reading about your device and how the hardware connects to get it to do what you want.
Leave a Comment for how can i use a barcode reader machine in visual basic programming?
Trackback this post | Subscribe to the comments via RSS Feed