Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending single a character to the serial port
Message
De
05/01/2000 20:05:33
 
 
À
05/01/2000 18:49:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00313585
Message ID:
00313630
Vues:
39
>>>What's the easiest way to simply send a character to the serial port in VFP6. No protocol required, no ack. required.
>>>Can I do it without an ocx or fll?
>>
>>Through making a series of Win32 API calls, yes, but they are not platform-independent. Your best bet is to use the MSCOMM32 ActiveX control.
>
>That's what I feared Ed. No problem using mscomm32 but it doesn't exist on all client machines, so I've got to install it. Dang.
>I've also got Commtools but that's seems overkill!

Installation oif the MSCOMM32 control is fairly straightforward; nothing to worry about beyond putting the control on the local machine and registering it.
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