Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help :MScomm - OnComm Event
Message
From
30/01/2002 10:54:18
 
 
To
29/01/2002 22:38:43
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00612593
Message ID:
00612760
Views:
26
If thisform.oMsComm1.input does indeed have the data, you must do something with it. I normally create a form property called 'inbuffer'. Then in the OnComm event, just do:

THISFORM.inbuffer = THISFORM.inbuffer + thisform.oMsComm1.input

adds the input to the buffer. Now process the buffer elsewhere.

>I found the onComm event does fire when my comm port received data.
>
>But when I try receive data by manually (thisform.oMsComm1.input), I found the data is there. Why??
>
>How can I configure it to make it working properly????
>
>TIA.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform