Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Receiving Data on Com Port
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00099320
Message ID:
00101630
Vues:
46
>> 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
Fil
Voir

Click here to load this message in the networking platform