I have a third party COM product which triggers events and works fine in VBA.
Porting to VB6 I have difficulty because the old problem of asynchronous execution means the event class terminates before the Class events I am trying to trap have triggered.
ie xyzCompleteEvent never traps because the sub calling the process completes and terminates the class before xyz even gets underway.
If I add a timing loop, all is well but I can't live with that.
Register_event_Handler is being called from the same sub that calls the process I am trying to trap.
I remember reading somewhere of the ability to make the class global or some such.
Any help appreciated.