All Forums >> [Scripting] >> WSH & Client Side VBScript >> "ConnectObject": Catching events from inside a class impossible? Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
is it possible that the ConnectObject-Method only works for methods which are not written inside a class? Because when I tried to catch an event with a method inside a class there was no reaction, but when I modiefied the code resettling the code outside the class it worked.
perhaps the code example with the strange object has confused some of you. I'd be happy to know generally if procedures in the inner part of a class can catch events or not.