Automating Script

Results 1 to 3 of 3

Thread: Automating Script

  1. #1
    Join Date
    Dec 1969

    Default Automating Script

    I have created a dll that must be executed every so often by the system. I&#039;ve read somewhere on this site that I can do it through windows scripting host. My problem is how to call this dll (from asp or from a .vbs file?), and run this asp/vbs file automatically every so often? <BR><BR>Thanks for your help.

  2. #2
    Join Date
    Dec 1969

    Default RE: Automating Script

    You would create a WShell script (.VBS file) that is executed by Windows Script Host.<BR><BR>Look into the Task Scheduler. It is how you can schedule a task to be executed at regular intervals.<BR><BR>-Doug

  3. #3
    Join Date
    Dec 1969

    Default .vbs files are VBScript WShell isn't needed

    Just put the .vbs file in task manager.<BR><BR> dim oMyDLL<BR> Set oMyDll = CreateObject("MYDLLClassName")<BR> &#039; example Set oConn = CreateObject("ADODB.Connection")<BR> oMyDLL.DoStuff<BR> Set oMyDll = nothing

Posting Permissions

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