Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM1 in VFP
Message
De
01/12/1999 11:04:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00297312
Message ID:
00297329
Vues:
16
>Hi,
> who knows haw I can manage COM1 or COM2 in VFP, I need to read a string through COM1. (sorry about my poor english)

The easiest way is to use the MSCOMM32 ActiveX control. there is no native VFP function to directly access the comm ports; while you may be able to do it with a set of API calls, it's troublesome at best, and not easily supported. There are samples in the UT FAQ that demonstrate the use of the MSCOMM32 control; try FAQ entry #342 What support for serial port data input/output does Microsoft(r) Visual Foxpro(r) offer?
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
Répondre
Fil
Voir

Click here to load this message in the networking platform