• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1020
  • Last Modified:

VB.Net Desktop Application Form - Barcode input

Can you guys weigh in on whether this is feasible and what the complexity level is?

I will be building a pretty basic VB.Net desktop application as a Form.
One of the input Text boxes on this Form will need to read barcode input from a scanning device and update my Text field value based off of the barcode-read value.

I run VS2005 and not sure what is there for built-in objects or 3rd Party to communicate with this type of input device.  The barcodes would be standard Code 128 barcodes.

Thanks guys,
3 Solutions
Éric MoreauSenior .Net ConsultantCommented:
Hi JMO9966,

When I have used a barcode reader a long time ago, I had nothing to do. The reader is converting the barcode to ascii characters. All you have to do is to set the focus to your textbox.

Almost all barcode readers are inserted between the keyboard and the computer. Whatever is read by the scanner is converted to keystrokes. It's as if you were typing it in.
Joe Griffith:
Some more advanced barcode readers nowadays come with USB connector, but with the same effect as you say. It works as a keyboard, since it is recognized as a HID USB device. (HID = Human Interface Device)
Lately I have used a PCMCIA bar code reader on a tablet computer. This needed programming, since the trigger to read had to be given through software. (in fact I returned it to the vendor since there were bugs in the driver)

JMO9966: look for a BCR with so called Keyboard Wedge cable or USB connector, depending on available sockets on your target system.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now