>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao