Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSCOMM Error Trapping
Message
De
14/11/2003 15:00:24
 
 
À
14/11/2003 14:00:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00849985
Message ID:
00850029
Vues:
22
This is what I do: in thisform.error I add the following code.
LPARAMETERS nError, cMethod, nLine
IF m.nerror=1429
	thisform.omessage.warning(PROPER('invalid communications port error, '+;
		'ensure that the port specified in the gage setup is valid and '+;
		'available. you will need to close any programs that may have it open.'))
else
	RETURN DODEFAULT(m.nError, m.cMethod, m.nLine)
endif
omessage is just part of my framework (codemine) that displays an error box.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform