Click here to Skip to main content
15,922,155 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good Day,

I am stuck with this problem.

I am using a handheld barode reader namely DATA LOGIC MEMOR...
If I scan barcode label and it is found in the database,
the program should automatically display "CONGRATS" without pressing the enter key.

Help please!
Updated 22-Mar-10 17:00pm

1 solution

If you know how long a barcode is, then when the reader puts text into your textbox, you can handle the text changed event, check for the right length, and then go off and do your DB call.

Please don't confuse things by reasking the same question. Just stick to one question per post.
Share this answer

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900