Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening an electronic cash drawer
Message
De
15/03/2001 12:03:17
 
 
À
15/03/2001 11:31:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00485363
Message ID:
00485435
Vues:
10
>>>I have a CR3001 electronic cash drawer manufactured by Logic Control Inc. The functional test checks out fine. But I cannot make my VFP open it via serial port connection.
>>>
>>>If anyone has had any experience with this product or can help it would be most appreciated.
>
>>You need to use the MSCOMM32 OCX to control the serial port; you can't do it in VFP using low-level file I/O.
>
>
>Thanks.
>Where would I look to find out how to use MSCOMM32.OCX?


Look in the FAQ here and in the Files Section - both have sample code for manipulating MSCOMM32 from within VFP. The docs on the MSCOMM32 control in the MSDN contains samples in VB, but converting them from VB to VFP is relatively trivial.
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