Sunday, March 11, 2012

Barcode scanner with C# - CodeGuru Forums

Hi guys.

I just started to learn C# and having a lot of fun with it. Currently i am working on a program for a gym. it's a simple windows form app that keep track of comings in gym and some statistic (with a mdf database)

recently my friend asked me to implement a barcode scanner, and i thought no big deal. So i purchased ps2 barcode scanner (that returns strings like keyboard) and its very easy to read the data and get the wanted string from barcode.

but my question is this: when a scanner reads some code (like 38503085 <-barcode) how do i trigger an event (something similar to KeyPress but actually this is a string).

so i use these codes (from barcode scanner) as an ID for a member and when i read a certain barcode i want that member to be displayed in form. (i dont want to make a textbox, focus it, get the barcode string there and press enter)

i hope you can help me and for sure i will be tracking this form and help you guys with my knowledge

2 comments:

Jim Green said...

You can try to embed this barcode read c# sdk that I share into your barcode scanner project, which is a good solution to your problem.

Alia parker said...

You wish proficient people to do it. Not everybody can give the leading results. We have numerous another tall tech to supply the finest 3d modeling services Denver, Colorado

Post a Comment