Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Task Scheduler
Message
 
 
À
06/06/2006 10:23:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01127352
Message ID:
01127358
Vues:
23
>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform