I had the same problem. Jonus' idea is good, but I couldn't get my
barcode scanner to program correctly. You might try constructing your
barcodes with a termination character, or a specific length.
Or, in your textbox that is receiving the scan, set a static variable
when you get a character, and then you can check if your still getting
characters or not. The barcode scanner will spit them out quickly (all at
once).
-- JIM
Quote:
> I am trying to hook-up a barcode scanner to a VB app. As the barcode is
> read, it is printed in a text box. I use a timer object that calls a
> function that adds the string into a listbox after the time elapses.
> Basically, this assumes a completion of one barcode string. This works
> fairly well.
> However, does a barcode scanner return a message to the OS that it
> finished reading a barcode? I do not want to rely on the timer object.
> Any suggestions.
> Atul Tewari