Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Forcing Internet Explorer to unload an ActiveX OCX

143 views
Skip to first unread message

Alon Diamant

unread,
Nov 5, 2009, 6:33:02 PM11/5/09
to
Hey,

I apologize in advance if this is not the correct newsgroup to ask
this question in.

I have an in-proc ActiveX control I developed myself. It does not use
the standard .CAB based deployment strategy, rather - I have my own
setup program, and my own version checking via a website.

Now, imagine the following:

1. User enters the website with an old ActiveX, which is loaded.
2. Website has JavaScript that loads the ActiveX, tells the user that
it is old and moves him to a different page with a download link for a
new setup program that contains the new ActiveX.
3. User runs the setup program, but cannot upgrade the ActiveX - the
OCX is locked by Internet Explorer.

Note that during step 3 there is NO webpage which uses the ActiveX -
the download page has no JavaScript at all, in fact.

Does anyone have any tips as to what I can do in such a situation?
Or, better yet, does anyone know how to force Internet Explorer to
unload an OCX?

Thank you!

0 new messages