>'cos I don't know how to, so I'm not sure that is a better idea than using two timers.
>
>It just seemed appropriate to think of using VFP to do this natively. The batch is not separable into a standalone .exe, its part of the existing app. 'To a guy with a Swiss Army knife every task looks like vehicle maintenance.'
>
>I will try to find out how to address Task Scheduler from inside VFP.
>
>Cheers
I don't think you can. The Windows Task Scheduler is designed to launch an EXE at a specific time. If you can't pull that code out of your app, you'll have to build your own.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer