Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access COM port on Win Xp
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00691747
Message ID:
00694321
Vues:
17
Hi John


>The following is the code I use to do the job, but you must have set library to foxtools.fll first and I have not tried it in XP yet. Could you let me know how you got on:

Your code works perfectly and is just what I needed. Even works on XP. Thanks a mill.

I just changed your code a bit to test the return value for a valid port.

>MComPort = CallFn(opencomm,mfPort,100,100)
>
IF MComPort>=0
......
......
ELSE
WAIT WINDOW NOWAIT "Port failed to open
ENDIF

No to the conference. Too many commitments with the job.

Thanks again

Bernard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform