Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to address a USB Port
Message
De
09/04/2002 07:31:39
 
 
À
09/04/2002 06:02:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00642537
Message ID:
00642560
Vues:
27
>Hi All,
>I have a cash drawer for a com port. The computer does not have a com port but a USB port. The hardware vendor has given me a cable which goes into the USB port and the other end is a 9 pin com port connector which goes into the cash drawer.
>
>The question is, I was using the MSCOMM32 OCX to talk to the cash drawer. How do I talk to the cash drawer now thru the USB port??

The simple answer is you don't use MSCOMM32 directly to talk to a USB port - MSCOMM32 talks specifically to serial ports, not USB ports. You'll need driver software for the USB interface, either to communicate directly with the USB port, or to virtualize the USB port and make it act as a serial port; IAC, it's an issue outside of VFP.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform