The information in this article applies to:
SYMPTOMS
Attempting to specify the location for CreateObject in VBScript or ActiveXObject in JScript may not cause the object to be created on the specified server name.
In JScript, the location is specified as the second parameter as shown in the following code sample.
NOTE: As of version 5.0, VBScript and JScript will accept a second argument in CreateObject and ActiveXObject without an error. However, the script engine will not use the location information when creating the object.
CAUSEThis functionality is not implemented in version 5.0 of VBScript and JScript. The object is created based on how it is registered in the system registry. The location parameter will not effect how the object is created in version 5.0. STATUSMicrosoft has confirmed this to be a problem in Microsoft VBScript and JScript version 5.0, and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words: CreateObject ActiveXObject JScript JavaScript remote location servername
Keywords : kbJScript kbScript kbVBScript kbGrpInet kbIE500 kbDSupport |
Last Reviewed: July 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |