Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help:Opening COM ports and stuff...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00051280
Message ID:
00051302
Views:
31
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform