Hello,
I am trying to run a VBScript remotely using the WshRemote object. Turns out the script bombs out when I try to access the CreateObject method. The error I get is
Error: ActiveX component can’t create object
Code: 800A01AD
Source: M1crosoft VBScript runtime error
Here is the code I got from MSDN website
Dim Controller, RemoteScript
Set Controller = WScript.CreateObject(“WSHController”)
Set RemoteScript = Controller.CreateScript(“hello.vbs”, “remmachine”)
Can anyone help me? Thanks.