Barcode Scanner Info 
Author Message
 Barcode Scanner Info

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



Sun, 24 Dec 2000 03:00:00 GMT  
 Barcode Scanner Info
Most scanners I know of can be configured to send a carriage return,
linefeed, or both upon finishing a scan, or even a Tab character. If yours
supports this, you should be able to trap for it.

Jonas
TRION Technologies

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



Sun, 24 Dec 2000 03:00:00 GMT  
 Barcode Scanner Info
    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



Tue, 26 Dec 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Barcode Scanner Info

2. Using barcode scanner with Access

3. barcode scanner in USB port

4. How to read Barcode Scanner??

5. vb.net and barcode scanners

6. Barcode Scanner and VB .NET

7. RF Barcode Scanner /w Visual Studio?

8. ASP with barcode scanner

9. Barcode scanners

10. Norand Barcode scanners???

11. Newbie Q: Using a barcode scanner with VB

12. Barcodes-Scanners cabled to the ethernet

 

 
Powered by phpBB® Forum Software