We have developed an application in VB6 (say AA.exe). We wish to
schedule the execution of this application (AA.exe) through Windows
Task Scheduler.
Is there a way through which we can add this application (AA.exe) to
Task Scheduler by using another application (say BB.exe), which is
also developed using VB6? The operating systems can be Windows 2000,
Windows XP or any later version of Windows...
We also wish that whenever the second application (BB.exe) would run
it should always check the scheduling of first application (AA.exe) in
Task Scheduler and if it finds that someone has disabled its (AA.exe)
execution or removed it, then it should be added to Task Scheduler
again.
A reference to any sample available in VB6 will be highly appreciated.
Thanks & Regards
Faiz