I have an ActiveX Control and it doesn't terminate (no terminate event is fired) when i close Internet Explorer.
Am I forgetting to set some property so that it handles it correctly? Anyone know why it wouldn't terminate?
Thanks!
Printable View
I have an ActiveX Control and it doesn't terminate (no terminate event is fired) when i close Internet Explorer.
Am I forgetting to set some property so that it handles it correctly? Anyone know why it wouldn't terminate?
Thanks!
post your code so that we may see if you have forgotten to terminate it in the OBJECTS Terminate event routine
DocZafCode:SET MyControl = Nothing
{;->
well i assume the UserControl Terminate event should be called when I exit IE... it does it for a dummy control I set up. There must be something I changed that makes the UserControl want to persist. The Hide event occurs but no Terminate.
Did I miss a setting or parameter for Usercontrol?
post your terminate event code
the event isn't even fired.
private sub UserControl_Terminate()
msgbox("terminate")
end sub
now there isn't anything really happening here, but when the Internet Explorer is closed the control should throw up the message box with Terminate in it.
Can I force the Terminate to occur? Such as...
private sub UserControl_Hide()
Call Terminate
end sub
??