Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not on windows 7 task scheduler
Message
 
To
03/04/2013 23:38:31
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 7
Miscellaneous
Thread ID:
01570025
Message ID:
01570096
Views:
47
>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
Map
View

Click here to load this message in the networking platform