Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Receiving Data on Com Port
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00099320
Message ID:
00101630
Views:
47
>> I need to connect to com1 and grab an incoming ascii stream. The data is coming from a PBX phone machine. Is there a way to do this?
>
>Try MSCOMM.OCX (it'll be on your PC already) or better still a third party product like CommTools is more reliable.
>I'm monitoring two lines from a complex PABX using MSCOMM, and it's going just fine.

Thanx,

I've been reading the help on MSCOMM32 and I'm not real clear on how to use the events and methods available. The examples are in VB and I believe use VB defined variables. Anyway can you help me with a short snippet. I need to just open com1 which I think is ok, but I need to continually loop for a recieve event and print the buffer to screen or to file. Can I set a timer to check OnComm? I dunno. Can you tell me the proper way to do this?

Eric Kleeman
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform