FIX: VBScript Does Not Permit CreateObject or GetObjectID: Q194843
|
VBScript displays the following error in the Developer Studio shell when you attempt to access the CreateObject or GetObject functions:
However, calls to these functions sometimes succeed in certain software configurations.Line #: ActiveX component can't create object 'CreateObject'
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
The Automation Issues topic for the Microsoft Developer Studio environment
in the Visual Studio 97 Environment Readme states that some VBScript
objects and procedures are not supported from VBScript macros. Among the
examples of unsupported constructs, it lists the CreateObject and the
GetObject functions. For additional information, please see the following
articles in the Microsoft Knowledge Base:
Q165791 INFO: Visual Studio 97 Environment Readme
Q191200 Update Available for Window.External JScript Security Issue
Some users created macros using these functions, which executed successfully on certain software configurations, but failed on others. The fix in Service Pack 3 allows these functions to operate successfully, governed by the security settings of the object they specify.
Additional query words:
Keywords : kbservicepack kbide kbVC500bug kbVC600bug kbVisID100bug kbVJ100bug kbVJ110bug kbVS97bug kbVS600bug kbVS600sp2 kbVS600SP1 kbVS600sp3fix kbGrpDSTools
Version : WINDOWS:1.0,1.1,6.0,97; winnt:5.0,6.0
Platform : WINDOWS winnt
Issue type : kbbug
Last Reviewed: May 19, 1999