Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mscomm
Message
From
30/01/2002 11:00:04
 
 
To
29/01/2002 22:43:49
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Mscomm
Miscellaneous
Thread ID:
00610951
Message ID:
00612771
Views:
23
This is one way:
loserin = NEWOBJECT("MSCOMMLib.MSComm")
loinhandler = NEWOBJECT("InComm")
lovfpcom.bindevents(loserin,loinhandler)

DEFINE CLASS incomm AS CUSTOM
        PROCEDURE oncomm
	        DO CASE
		    CASE loserin.commevent <> 2
			* Error handling?
		    CASE loserin.commevent = 2
                        * your input processing here
		ENDCASE
	ENDPROC
ENDDEFINE
>How to manually bind events using vfpcom?
>
>I normally open drop it to my form.
>
>TIA.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform