The information in this article applies to:
SYMPTOMSOut-of-process (EXE) components do not work correctly when instantiated through an OBJECT tag in HTML under Internet Explorer 4.0x. Internet Explorer 4.0 appears to instantiate the component but when you access any property or method of the component from script, you get the following error message:
CAUSEInternet Explorer does not correctly instantiate out-of-process components (EXEs). RESOLUTIONIf it is not possible to convert your application to an in-process component, there is a limited workaround. The workaround is to use VBScript's CreateObject function instead of the OBJECT tag. You supply the ProgID of your component to CreateObject instead of the CLSID required by the OBJECT tag. You can use CreateObject in an inline script as follows:
Please be aware that the above work around has the following caveats:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONOut-of-process (EXE) components do not work correctly when instantiated through an OBJECT tag in HTML under Internet Explorer. Steps to Reproduce Behavior
Additional query words:
Keywords : kberrmsg kbIE400 kbIE401 kbIE500 |
Last Reviewed: May 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |