Information générale
Catégorie:
Codage, syntaxe et commandes
>> 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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement