Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inputting data from alternate sources...
Message
De
01/11/1998 14:17:49
 
 
À
01/11/1998 13:59:15
Frank Romano
Affordable Programming
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00153261
Message ID:
00153266
Vues:
17
>Is there any way to accept input from a serial device as if it were keyboard input? I have a serial scanner and would like to fill a field with the data...

Doing this would require a device driver hook to tie the input from the scanner into the keyboard queue, translating characters to scan codes for use by Windows.

The good news is, most barcode/magcard scanners come with a driver that does exactly this.

The bad news is that if it doesn't come with such a driver, I don't know of a generic one that you could use; you'd need to write a driver, which might require that you use the DDK to develop the driver, and that different drivers would be needed for different environments (Win95/WinNT).

I would check with the scanner vendor first.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform