I am developing an application using VB6. On my main form, I have a 3rd party ActiveX control.
My problem is that when I run my program, the terminate event (UserControl_Terminate) doesn't seem to fire when I close my form. I read somewhere that when the user closes the form that is hosting the control, this event gets fired
The funny thing is that when I select "Run -> Start" in VB6 everything works fine, but when I build an executable file and run it, the subroutine doesn't get called. Should I be calling the event directly?
Any ideas on why this could be happening?
Thanks in advance.