Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help:Opening COM ports and stuff...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00051280
Message ID:
00051302
Vues:
36
>success=FOPEN("com1") will return -1, which, I guess, means failed.
>
>How do you guys do it ?
>
>Regards
>
>Peter

Peter,

It depends on which version of FoxPro you're using. I assume it's one of the Windows versions (FPW or VFP). If it's FPW, check the GOODIES\FOXTOOLS subdirectory for a program named DIALER.PRG. It shows how to use the Windows API to open a port. If it's VFP, use the MSCOMM ActiveX control.

George
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform