Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading from com port
Message
 
À
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:
00094088
Vues:
29
Daud,

Not used the commEvent event.

Sorry,

Marc



>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

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform