Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading from com port
Message
De
22/04/1998 03:08:27
Daud Mydin
Hwang-Dbs Securities Berhad
Penang, Malaisie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00093552
Message ID:
00093914
Vues:
33
Hi,
After reading the help file I tried writing a simple program just to see what I can capture from the com port. When I tested the program, nothing happened. It seems like the OnComm event never get triggered. Why?

This is the code that I placed inside the OnComm event.

DO CASE

* Events
Case This.CommEvent = 5
Case This.CommEvent = 3
Case This.CommEvent = 4
Case This.CommEvent = 6
Case This.CommEvent = 2
wait window This.Input
Case This.CommEvent = 1
Case This.CommEvent = 7
wait window "EOF char found"
ENDCASE

----------

Any help appreciated.

regards
Daud

nb. I am sure that the com settings I use are correct
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform