Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Barcode Scanner
Message
 
To
03/03/2003 00:59:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00760252
Message ID:
00760387
Views:
14
>dear all,
>
>i have a problem in using barcode scanner.
>i want my text box is cannot be input by keyboard, only with barcode scanner.
>i have tried to block the numeric keypad by disabling the num lock key.
>but still they can access with the numeric button above the character button.
>is there any trick to disable keyboard press, or disable the keyboard access.
>
>regards,
>
>
>Ivan Agusta

After reading the other replies I think I have found a way around this problem.
Using a barcode scanner the scanned barcode will be 'typed' into the text box very fast (compared to a user entering the barcode on the keyboard). So if you can somehow measure the time it takes from the first text box input until the last input you could determine if it was the scanner or the user using the keyboard. Might not be 100% accurate but the longer the barcode string is the more accurate it should be.

Just my $0.02

Einar
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform