Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event binding on COM Object.?
Message
 
 
To
11/07/2003 16:55:21
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00809419
Message ID:
00809424
Views:
27
>Hello,
>
>I have a COM object that has a Class with an Event that is
>fired by various com funtions that I call. How can I attach
>to the event so I can retreive the text that is returned when
>the event is fired?
>
>Thanks,
>

Gary,
Perhaps you can explain this a little more in-depth.

If you are looking to bind to a COM event using the VFPCom utility or EventHandler, you don't be able to get the text being returned. Events don't work like that. Events are fired and usually don't return values. You could set a property within the event code and read that property after the event.

If you are executing an VFP via an explicit call, then you can very easily get the text returned by setting a variable to the return value.

Regards.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform