Article ID: 214554 - View products that this article applies to.
This article was previously published under Q214554
This article has been archived. It is offered "as is" and will no longer be updated.
The following error message appears when a Visual Basic application or UserControl hosting a WebBrowser Control attempts to access frames inside a hosted HTML page:
This problem occurs only on computers that have had the Frames Spoof patch installed.
ERROR 424 "Object Required"
After you install the Frames Spoof fix, Internet Explorer prevents programs from scripting across frames, even within the same domain, when hosting the WebBrowser control.
Currently there is no recommended workaround for this bug. Developers should warn their users not to install this Frame Spoof fix if their applications are scripting across frames.
Microsoft has confirmed that this is a bug in the Frames Spoof patch. This bug was corrected in Microsoft Internet Explorer 5. It was also corrected in Internet Explorer 4.01 Service Pack 2.
After you apply the Frames Spoof patch, code that worked previously and that refers to cross-frames elements with a WebBrowser Control will not work as expected.
In this Frames Spoof patch, an updated version of Mshtml.dll (version 4.72.3612.1700) is installed. This updated version of Mshtml.dll prevents programs from referencing cross-frames elements even within the same domain.
A program could access the length of the frame collections; however, if it tries to access the properties or methods of the individual frame, it returns empty instead of the object. The error message mentioned above occurs.
However, if the code does not involve any frames, accessing the DHTML document is not affected.
Also, this patch does not affect scripting inside HTML pages. If you reference an element in another frame using scripts in an Active Server Pages (.asp) or an HTML (.htm) file, your script should work as expected even with the Frame Spoof patch. Only hosts of the WebBrowser control are affected.
Other InformationSince the nature of this Frame Spoof vulnerability is applied to many software versions, this problem might occur in other software versions if this Frame Spoof fix is applied. However, except for the versions that are mentioned above, other platforms are not being tested to confirm with this problem.
The following software versions may be affected by this bug if the Frame Spoof fix is applied:
For more information on where to obtain the Frame Spoof fix, please see the following Microsoft Web sites:
(http://support.microsoft.com/kb/167614/ )Update Available For "Frame Spoof" Security Issue
Contact us for more help