Information générale
Catégorie:
Installation et configuration
Versions des environnements
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement