Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I set inkey speed on a form OR determine input speed?
Message
From
18/12/2002 16:45:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Can I set inkey speed on a form OR determine input speed?
Miscellaneous
Thread ID:
00734263
Message ID:
00734263
Views:
57
I have a FoxDos routine for a login that determines if the user is using a scanner by doing a read timeout with inkey(.1). The inkey speed is so fast that only if the scanner is used can the data actually be read. If the user tries to type an ID the form releases because the speed is too slow. This was designed as a security feature so only scanned badges could be used to identify the user to the Foxpro system.

I need to do a matching routine in VFP7. Is there a way to set the input speed on a form OR to test the speed that the data in a text box was entered at? I don't think I can detect the input device because this scanner Y's into the keyboard cable and the PC gets both scanned and typed data through the keyboard port.
Next
Reply
Map
View

Click here to load this message in the networking platform