Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MScomm class definition
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01018748
Message ID:
01018839
Vues:
32
Mark,

Did you try to put the control in the form as I posted? I see you still have an error in the destroy, you should code it as I posted too, otherwise you'll get an error, you can not close a port that is closed. Before posting my code, I ran it and it works just fine (I'll changed the destroy, the CommPort from 8 to 1 and I run loForm.myComm.mInitialize(), then I put a wait window in the OnComm event that fired as expected. I really do not understand what problems are you having)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform