Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More meaningful error message...
Message
De
09/12/1999 03:31:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
More meaningful error message...
Divers
Thread ID:
00300867
Message ID:
00300867
Vues:
69
Hi,
How could I get the more meaningful OLE ERROR in VFP in order to control handle the error more effectively?
For example usign MSCOMM.ocx:
WITH MSCOMM
     .CommPort=2
     .Settings="9600,N,8,1"
     .PortOpen=.t.
     .InputLen=1
ENWITH
From the code above, I may get error for "Port already opened!" or "Invalid Port Number!", but VFP return the same error code.. how could I determine what error actually occurs?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform