Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX exe program still running when IE closed

Status
Not open for further replies.

yuenie

Programmer
Jul 20, 2000
15
HK
I have compiled an activex exe with a userdocument. I can successfully have it opened in the IE6.0. But when I close the IE, the ActiveX exe is stilling running at the backend. I have to close it by task manager. Anybody knows is there any code I can close the exe if the browser(IE) is detected closed? I have tried userdocument_terminates but does not work.

Many thanks.



 
hi
i dont know much about the userdocument but still if u know somehow make the object nothing then it should stop
say if
Dim MyObj as Object
Set MyObj=nothing 'will release it from memory

Regards
Nouman
 
Thanks nouman.

But how can the program knows the browser (IE) has been shut down? That is, where should I put the "set nothing"?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top