Does anyone know if it is possible to call the Scheduled Task interface from C#. Its located here Start -> All Programs -> System Tools -> Scheduled Tasks. Once you Add a Scheduled Task and you get the properties of it -- this is the interface I would like to call. Is there a class in C# that will handle this. I have seen Symantec using this in their Norton AntiVirus program. Any help would be greatly appreciated since I need to do this in my program. Thanks
I have attached two files to show what I am trying to accomplish. The one titled Task Scheduler is what I am trying to call within C#. I am not sure if there is a class library that will call this or some dll file. The one titled Task Scheduler Wizard is another interface I would like to try to call as well. If anyone has any insight or might be of some help, I would appreciate it.
Thank you.
P.S. I had to zip this file up since there is more then one screenshot.
Originally posted by capthidden Where might I find this out? Is this a Class Library build into C#? Thanks for your help.
cAptHiDDeN
To my knowledge, there isn't a class library in the .NET framework for this. It seems however you can access the task scheduler through ITaskScheduler.
Here is a link to it on the MSDN library. If I get a chance I will try to put together an example for you.
Kewl. I downloaded his example and tried to compile it . It seem that 2 files are either missing or were not included in his packager. The following is what I get if I try to compile...
After install, I browsed to the Program File\Edanmos VB Page\TaskScheduler\TashScheduler directory and launched the TaskScheduler.vbproj file. I noticed that VB .NET was complaining about two files not being present those being Edanmo.TashScheduler.snk and fxcop.FXCop. I was wondering if there was something wrong with the way he packaged this or were these left out by mistake? Is there something that I am missing or that I left out? Even the program in the Test directory complains about these two files missing as well.
I have emailed him about this -- hopefully, I will hear something soon. Thanks for the help CPCericola. I really appreciate it.
cAptHiDDeN
Last edited by capthidden; July 30th, 2002 at 11:17 AM.
Originally posted by capthidden I was wondering if there was something wrong with the way he packaged this or were these left out by mistake? Is there something that I am missing or that I left out? Even the program in the Test directory complains about these two files missing as well.
I have emailed him about this -- hopefully, I will hear something soon. Thanks for the help CPCericola. I really appreciate it.
cAptHiDDeN
I didn't try to example, but I notice the project was complaing about those two missing files. More than likely it was a packaging mistake. He's very active on Usenet from what I see so he should respond quickly.
If you got some time, I would be interested in looking at your example. I really do need this feature -- I have to have a built in scheduler in my program that I am working on for work...lol. If you got some time and you want to drop me a line and/or your example my email follows below:
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.