General information
Category:
Coding, syntax & commands
>> 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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only