Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I send from the OnComm event of MSCOMM?
Message
From
25/08/1999 10:40:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Can I send from the OnComm event of MSCOMM?
Miscellaneous
Thread ID:
00257413
Message ID:
00257413
Views:
52
I am trying to establish a 2 way communication program from 2 computers with the MSCOMM control. Here is the logic:

Computer "A" send a string to computer "B". Computer "A" now enter a DO WHILE loop until it receive a confirmation from computer "B". Computer "B" OnComm() event fire. In the OnComm() event, a string is written in the Output propriety.

The problem is that either the string is never sent to computer "A", or the computer "A" OnComm() event doesn't fire. Both computers use the same program with the same parameters.

The weird thing is that if I trace both computers at the same time with the debugger, it work. Without the debugger, it won't work.

Help...

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform