PDA

Click to See Complete Forum and Search --> : VB Script under Win95!!!


Neon
Feb 22nd, 2001, 08:33 AM
HI!
I have a problem starting the following script under Win95!!I installed the Internet Explorer so that I can use the WSH, but an error message occurs saying that the argument can't be found!

oAgent=WScript.CreateObject"Agent.Control.2", "Agent_")

Under Win98 and 2000 it works well, but using Win95 does not support the AGENT.CONTROL.2 statement!
How can I solve this???

Neon

JoshT
Feb 22nd, 2001, 09:05 AM
Install the Agent DLL onto the Win95 computer. Go to Windows Update with IE and pick MS Agent from the choices. (I'm assuming what you're using is the MS Agent).

Josh

Neon
Feb 22nd, 2001, 10:47 AM
Thanx for your fast reply, I don't have an Internet connection with this PC,so that I just installed the Internet Explorer for having the WSH!!

I also have the Agent.DLL in the system folder and the msagents folder,but the error message says that the dll was not registered right!
I also tried it with a VB6 programm using the MSAgent.ocx but the same message occurs!!

Neon

JoshT
Feb 23rd, 2001, 07:32 AM
Did you use an installer or did you just copy the dll and use regsvr32 to register it yourself? I wonder if it has dependencies that aren't installed.

Josh