Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSCOMM Error Trapping
Message
From
14/11/2003 15:00:24
 
 
To
14/11/2003 14:00:46
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00849985
Message ID:
00850029
Views:
20
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform