Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Task Scheduler
Message
 
 
To
06/06/2006 10:23:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01127352
Message ID:
01127358
Views:
29
>Hi,
>Does anybody know, how I could start the Windows Task Scheduler (in XP) via Foxpro Code, in order to save customers some time to go through START/RUN/PROGRAMS/..... in order to start the scheduler.
>Thank you so much in advance.
oShell = CREATEOBJECT("shell.application")
IF NOT oShell.IsServiceRunning("Schedule")
  IF NOT oShell.ServiceStart("Schedule",.T.)
    * Cannot start it
    ...
  ENDIF
ENDIF
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform