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 VBScript, the location is specified as the second parameter as shown in the following code sample.
Set XLApp = CreateObject("Excel.Application", "MyServer")
In JScript, the location is specified as the second parameter as shown in the following code sample.
XLApp = new ActiveXObject("Excel.Application", "MyServer")
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.