Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Greetings,

I`m wondering if there is any scheduler control in Vb.Net -MS VS 2005- and if not I hope I can find a one - free - that I could use on my application...

Please advise me or give me a hint on how to implement scheduling tasks requirement in my application..

Thanks in advance ..
Posted

You can always use the Windows Scheduler[^] to schedule an exe to run at a particular time.
 
Share this answer
 
Comments
dgthecodeproject 20-Mar-12 6:10am    
I`m not seeking the windows scheduler...I`m just seeking for a scheduler control that I can use on my vb.net 2005 code....
Sergey Alexandrovich Kryukov 20-Mar-12 17:48pm    
Why? And the control could be a Windows Scheduler wrapper...
--SA
Sergey Alexandrovich Kryukov 20-Mar-12 17:48pm    
Agree (I have no idea why OP is unhappy with it), my 5.
Please see some more information in my answer.
--SA
Monjurul Habib 21-Mar-12 3:41am    
5!
Abhinav S 21-Mar-12 6:10am    
Thank you Monjurul.
In addition to Abhinav S answer, have a look at this article

A New Task Scheduler Class Library for .NET[^]

It's basically a .Net wrapper to the windows scheduler. Personally, I'd just use the Windows Scheduler by itself, keep it simple eh!
 
Share this answer
 
Comments
dgthecodeproject 20-Mar-12 6:11am    
Thank you Dylan for the link you provide.....
I just want a vb.net 2005 windows (not web) scheduler control...and I`m not sure if I could use the one in the link...
Is there another one??
Dylan Morley 20-Mar-12 6:18am    
Right, so download the code, compile it then use it - what's the problem? It's written in c#, but once it's compiled you can use it from VB.Net.

Of course, under the hood it's still using the windows scheduler. Most people will use windows scheduler because it's tested & proven...people can understand it easily. Why reinvent the wheel with something that could be buggy and difficult to support?

Sergey Alexandrovich Kryukov 20-Mar-12 17:47pm    
Yes, I also recommended this article in some past answers. My 5.
Some more information in my answer; your answer is credited; please see.
--SA
Abhinav S 20-Mar-12 22:28pm    
Thank you SA.
You could be better of using existing Windows Task Scheduler service.

Please see http://en.wikipedia.org/wiki/Windows_Task_Scheduler[^].

First, you can schedule events using command-line utilities AT.EXE or CSHTASKS.EXE (which is replacing AT.EXE), see:
http://en.wikipedia.org/wiki/At_%28Windows%29[^],
http://en.wikipedia.org/wiki/Schtasks[^],
http://technet.microsoft.com/en-us/library/bb490866.aspx[^],
http://msdn.microsoft.com/en-us/library/windows/desktop/bb736357%28v=vs.85%29.aspx[^].

And you also can use Window Task Scheduler API, please see:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa383614%28v=vs.85%29.aspx[^],
http://msdn.microsoft.com/en-us/library/windows/desktop/aa383608%28v=vs.85%29.aspx[^].

To see how can you use it with .NET, see this CodeProject article (already referenced by Dylan Morley): A New Task Scheduler Class Library for .NET[^].

—SA
 
Share this answer
 
v2
Comments
Abhinav S 20-Mar-12 22:28pm    
My 5. Comprehensive set of links.
Sergey Alexandrovich Kryukov 20-Mar-12 22:32pm    
Thank you, Abhinav.
--SA
dgthecodeproject 21-Mar-12 0:42am    
I think you missed my question.....

I just need a win scheduler control to use it in my application in order to show appointments, tasks, events, etc... and not to schedule a task in windows to run at specific time....
Sergey Alexandrovich Kryukov 21-Mar-12 2:32am    
Well, sorry. But what you want is not a technical problem, just some data structure, UI for that, etc. Just some regular work. What kind of help do you need with that?
--SA
dgthecodeproject 21-Mar-12 3:29am    
No, I think it is very technical that a developer ask about a UI control to use on his application...
Thanks SAKryukov for your interventions...
Good day sir I am using visual C# 2010 and i cant run the code
 
Share this answer
 
Comments
CHill60 26-Sep-14 13:48pm    
If you want to respond to someone use the "Have a question or comment" link next to their post. They won't see this "solution" unless by accident

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900