Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bar Code Reader - Suggestions?
Message
De
14/12/1999 10:53:05
Allen Hanna
H. A. Hanna Associates
Indianola, Indiana, États-Unis
 
 
À
14/12/1999 01:53:34
Jill Derickson
Software Specialties
Saipan, CNMI
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00303162
Message ID:
00303383
Vues:
12
Jill,

The keyboard wedge works fine but can be a little tricky. That is, if a person touches a key while the program is waiting for wedge input it can spoil the bar code read so you'll have to watch out for that. Some drivers have the option to add a CR (chr(13)) at the end which can be handy for terminating the read. Or, you can keep testing the input for the terminating frame character. One nice thing about keyboard wedges, you can build your whole program without having to have the reader attached to your computer. Choose a couple of printable characters to represent the start and end of the frame, then substitute the real framing characters later. You can then test your error traps, etc., very easily. For example, "@123456$" could represent the framed bar code "123456."

Allen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform