Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Scheduled Tasks
Message
 
 
À
09/02/2002 03:43:16
Dennis Little
Ist Choice Travel
Glos, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00617857
Message ID:
00617904
Vues:
27
>Is there any way to add to the Windows Scheduled Tasks programatically?
>
>TIA
>
Hi Dennis,

You can download 'Automated Task Scheduler Scripts' from http://www.windowsscriptcomponents.com/components/default.asp. This script shows how to create task using WMI. It can be easily adapted for VFP. Here're some usefull related links:
- http://msdn.microsoft.com/library/en-us/wmisdk/r_32os5_1ggy.asp?frame=true
- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/r_32os5_1qg2.asp

There's also activex control for VBS that allows greater control over task scheduling at http://home.sprintmail.com/~mpryor/tasksch.htm. However I'm not sure if it would work under VFP.

You can also do that using the Task Scheduler API in C++. The Task Scheduler home page is at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/taskschd/ts_portal_690l.asp.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform