Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can not on windows 7 task scheduler
Message
De
04/04/2013 12:20:04
 
 
À
03/04/2013 23:38:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows 7
Divers
Thread ID:
01570025
Message ID:
01570096
Vues:
46
>Hi,
>
>I am trying to include a program to run under window 7 task scheduler. however it does not run. the status shows running, but never end.
>
>May I know how to set ? thank you.

I, too, am running dozens of FoxPro 9 applications in Win7 Task Scheduler.

The trick is your form needs a timer to click the Run button or whatever you call it. And then it has to exit FoxPro, too.

I have a parameter to the EXE and when I detect the parameter I set a global variable to TRUE and then in the form's init method if I detect it as being TRUE then I enable the timer and the timer clicks the main Run button.

Note: I do have code that detects the global setting and it clicks the form's Exit/Cancel button, which, again, exits the EXE.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform