Results 1 to 4 of 4

Thread: VB Script under Win95!!!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Posts
    29

    Question

    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

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Posts
    29

    Talking VB Script!!

    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

  4. #4
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width