Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading USB?
Message
De
31/10/2003 03:35:05
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00844473
Message ID:
00844837
Vues:
15
>I have VFP application that is going to need to read data from a USB device. The device is like a plug, where the plug is a chip that has a unique id on it. When the user takes the plug and inserts it into the device, the device sends back the unique id of the chip. Pretty cool for tracking purposes. The device has a serial and a USB version. I know to read data from the serial device. That is easy using the COM control, but does anyone know how to read the data from a USB device? I have never worked with USB under VFP, so I don't know where/how to read the data.
>
>Any ideas?

The documentation for the USB version of the device should have interface details. There may be a device driver and/or ActiveX/OCX control to work with it. Most devices like this include at least VB sample code on how to interface with it.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform