Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Scheduler VB.NET
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 19-Mar-12 22:34pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You can always use the Windows Scheduler[^] to schedule an exe to run at a particular time.
  Permalink  
Comments
dgthecodeproject at 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....
SAKryukov at 20-Mar-12 17:48pm
   
Why? And the control could be a Windows Scheduler wrapper...
--SA
SAKryukov at 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 at 21-Mar-12 3:41am
   
5!
Abhinav S at 21-Mar-12 6:10am
   
Thank you Monjurul.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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!
  Permalink  
Comments
dgthecodeproject at 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 at 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?
 
SAKryukov at 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 at 20-Mar-12 22:28pm
   
Thank you SA.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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
  Permalink  
v2
Comments
Abhinav S at 20-Mar-12 22:28pm
   
My 5. Comprehensive set of links.
SAKryukov at 20-Mar-12 22:32pm
   
Thank you, Abhinav.
--SA
dgthecodeproject at 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....
SAKryukov at 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 at 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...
SAKryukov at 21-Mar-12 3:46am
   
I mean, I feel it would be too specific to the application. To me, it's just work of development, nut a matter of finding some component. If I'm wrong, it means this is because I don't know the detail of your requirements. Did you see the article recommended by Dylan?
--SA
Monjurul Habib at 21-Mar-12 3:43am
   
5!
SAKryukov at 21-Mar-12 3:48am
   
Thank you, Monjurul.
--SA
dgthecodeproject at 21-Mar-12 3:51am
   
Yes, I saw the article recommended by Dylan...and by the way I already accept Dylan Solution...and I also very thankful for your help..I mean your trying to help...
Appreciate your understanding...
SAKryukov at 21-Mar-12 3:53am
   
You are very welcome, sorry this time this was not exactly what you wanted...
--SA

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 6,775
1 OriginalGriff 6,696
2 CPallini 5,345
3 George Jonsson 3,599
4 Gihan Liyanage 2,751


Advertise | Privacy | Mobile
Web03 | 2.8.140922.1 | Last Updated 20 Mar 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100