PRB: Object Required Error when Running VBScript in IE 3.x, 4.0

ID: Q157907


The information in this article applies to:


SYMPTOMS

Using Visual Basic Scripting Edition (VBScript) to reference ActiveX controls in Internet Explorer 3.x or greater could cause an "Object Required" error.


CAUSE

If security is set to HIGH in Internet Explorer 3.x , the security for the current zone is set to MEDIUM or higher in Internet Explorer 4.x , or 5.x, 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.


RESOLUTION

By changing the security setting to a level lower than that indicated in CAUSE for the requisite version in the Security page of the property settings for Internet Explorer, 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.


STATUS

This is by design.

Additional query words:


Keywords          : kbIE500 PrgCtrlsStd 
Version           : Win:1.0,2.0,3.0
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: July 2, 1999