Results 1 to 2 of 2

Thread: WSH

  1. #1
    Jefferson Guest

    Default WSH

    I have a job of sending email every day to a certain set of people. And as I want to send it automatically, so i wrote the code in a .vbs file. But the problem here is that if I execute it as an ASP file it works well and good but when I put that in .vbs then it give me problem at the following line:<BR><BR>Set usrObj = Server.CreateObject("ADODB.Connection")<BR><BR>I don&#039;t know what is the problem. Can anybody help me please?

  2. #2
    Join Date
    Dec 1969

    Default RE: WSH

    If you are not using it on the web server, and just having it as a scheduled job to run on the computer, take out the Server. part and just have CreateObject<BR><BR>Hope that helps<BR><BR>mj

Posting Permissions

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