Windows Task Scheduler & VB

How to invoke the Functionalities of the Windows Task Scheduler from VB using Windows API
[89 byte] By [bhoovi_s] at [2007-11-15 17:38:12]
# 1 Re: Windows Task Scheduler & VB
Hi There,
I don't think we can possibly access windows task scheduler using windows 32 API calls using VB.
Microsoft provides a dll which exposes a object itaskscheduler which could be used for scheduling tasks, but for NT/2K OS only.
If you want to invoke task scheduler in 95/98 systems you'd have to write a dll in VC++, which is able to use the itaskscheduler object exposed by windows (please search MSDN and you'd find code in VC++ for the same under task scheduler heading). This dll could be used directly in VB to access task scheduler.
There is one problem though we are unbale to set username and password using both the above methods, I am still searching a solution for it.
Please feel free to ask furthur in this regard at
tusharjain@mail.com

bye
Tushar M Jain
jtushar at 2007-11-10 0:44:01 >
# 2 Re: Windows Task Scheduler & VB
hi again
Please try
http://www.altecdata.com/task_scheduler.htm
this link and download the wrapper for windows scheduler.
I hope this helps
Bye
Tushar M Jain
jtushar at 2007-11-10 0:44:53 >