Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading from com port
Message
 
To
22/04/1998 03:08:27
Daud Mydin
Hwang-Dbs Securities Berhad
Penang, Malaysia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00093552
Message ID:
00094088
Views:
24
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform