FIX: Unable to Update Installed Component with Newer VersionID: Q167840
|
When you navigate between two pages that refer to different versions of the same component, Internet Explorer 3.x may use the version of the component first loaded, for both pages. While Internet Explorer appears to download the new version of the component, it may continue to use the older version.
In an attempt to optimize back and forth navigation between pages, Internet
Explorer 3.x may maintain a most-recently-used memory cache of up to 4
viewed pages. This cache includes all the components contained in those 4
pages. The problem described in this article is a negative side effect of
this caching mechanism. When the newer component is installed,
DllRegisterServer (exported by the component) is called to register the
component. Unfortunately, if Internet Explorer has the older component in
memory (in the memory cache), DllRegisterServer is called on the component
already in memory, essentially re-registering the old component.
Q167230 HOWTO: Detecting when IE holds Controls and Pages in Memory
In Internet Explorer 4.0 and later, this 4 page cache is not kept by the browser. ActiveX controls are destroyed when the user navigates away from a web page.
In Internet Explorer 3.x, one workaround is to close the browser and
revisit the page. Doing this will cause the newer version of the component
to display on the page as expected.
If restarting Internet Explorer 3.x is not an option, another workaround
may be to assign a new CLASSID to the newer version of the component. This
forces IE 3.x to treat the component as an entirely new component not
already installed in the system, thereby causing it to download the new
version of the component and display it on the page.
<OBJECT ID="Circ31" WIDTH=100 HEIGHT=51
CLASSID="CLSID:9DBAFCCF-592F-101B-85CE-00608CEC297B"
CODEBASE = "http://example.microsoft.com/circ3.cab#Version=1,0,0,0">
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="_ExtentX" VALUE="2646">
<PARAM NAME="_ExtentY" VALUE="1323">
<PARAM NAME="_StockProps" VALUE="15">
<PARAM NAME="BackColor" VALUE="16711808">
</OBJECT>
ActiveX SDK Internet Component Download documentation
Additional query words: <OBJECT> object tag
Keywords : kbIE300 kbIE301 kbIE400fix kbIE302
Version : WINDOWS:3.0,3.01,3.02
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 8, 1999