General information
Category:
Installation, Setup and Configuration
>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only