Results 1 to 2 of 2

Thread: Scheduled Tasks

  1. #1

    Thread Starter
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Scheduled Tasks

    Does anyone know how to add a new task into the existing windows scheduled Tasks? either through API call or OCX control.

    Thanks,
    Chris.C

  2. #2
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    Can you use the "at" command:

    Code:
    Public Sub RunAppAtTime(byval time As String, byVall Appname As String)
    
    Dim sCommand As String
    
    sCommand = "at " & time & " /INTERACTIVE " & Appname
    
    x = Shell(sCommand)
    
    End Sub
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

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