Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to catch OnComm event ?
Message
 
 
To
18/09/2001 00:31:43
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00557428
Message ID:
00557648
Views:
30
>It doesn't work ...
>I want event, which fired when ComPort receive data. I do it with timers yet, but I need other method.
>Pavel

The OnComm event fires when data is received. If you add code to the OnCOmm event, it will execute when the event fires. You can add code to log information or whatever. You should also call the Input method when the event fires to empty the input buffer.

You can add the code to a subclass of the ActiveX control or if you drop the control directly on a form, in the OnComm event in the form designer.

If the event is not firing, most likely data is not reaching the control.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform