Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSCOMM Error Trapping
Message
 
À
14/11/2003 14:31:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00849985
Message ID:
00850028
Vues:
31
You can trap the error when You trying to open port:
In VFP 6.0
fl_error = .f.
old_error = ON("ERROR")
ON ERROR fl_error = .t.
thisform.MSCOMM1.PortOpen = .t.
ON ERROR old_error
IF fl_error
*** do something
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform