PRB: Object Required Error with VBScript in IE 3.x, 4.0Last reviewed: October 3, 1997Article ID: Q157907 |
The information in this article applies to:
SYMPTOMSUsing Visual Basic Scripting Edition (VBScript) to reference ActiveX controls in Internet Explorer 3.x (IE3) or Internet Explorer 4.0 (IE4) could cause an "Object Required" error.
CAUSEIf security is set to HIGH in IE3 or the security for the current zone is set to HIGH in IE4, and your controls are not marked safe for scripting, then you will receive the "Object Required" error. This occurs even if the controls have already been installed on your machine.
RESOLUTIONBy changing the security setting to MEDIUM in the Security page of the property settings for IE3, you may be able to resolve your problem. On the Security page, click the Safety Level button to change the setting from HIGH to MEDIUM. Once you have changed the security level, you should get messages indicating that a potential security problem exists. Accept all the warnings, and your script should work.
STATUSBy default, security is set to HIGH in Internet Explorer 3.x. The default settings for Internet Explorer 4.0 are as follows: "Local intranet zone" and "Internet zone" set to MEDIUM "Trusted sites zone" set to LOW "Restricted sites zone" set to HIGH
Keywords : PrgCtrlsStd kbother kbprb Version : Win:1.0,2.0,3.0 Platform : WINDOWS |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |