PRB: Object Required Error when Running VBScript in IE 3.x, 4.0 (157907)
The information in this article applies to:
- Microsoft Visual Basic, Scripting Edition 1.0
- Microsoft Visual Basic, Scripting Edition 2.0
- Microsoft Visual Basic, Scripting Edition 3.0
This article was previously published under Q157907 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.
Modification Type: | Major | Last Reviewed: | 11/17/2003 |
---|
Keywords: | kbprb KB157907 |
---|
|