Scheduler
-
I need to create a scheduler which does a function (display message) at the specified time. and it should be able to run at the background in the system try. How can i do this. A link or code snippet will be useful. I already have a SDI application and i have the display message function in it i need to call at scheduled time and it should be able to minimize to system tray. Thanks,
-
I need to create a scheduler which does a function (display message) at the specified time. and it should be able to run at the background in the system try. How can i do this. A link or code snippet will be useful. I already have a SDI application and i have the display message function in it i need to call at scheduled time and it should be able to minimize to system tray. Thanks,
karmendra_js wrote:
I need to create a scheduler...
Are you sure? Perhaps you want to create a schedule instead. You need to search for the
ITaskScheduler
,ITask
, andITaskTrigger
interfaces. There are some good examples on MSDN.
"Take only what you need and leave the land as you found it." - Native American Proverb
-
I need to create a scheduler which does a function (display message) at the specified time. and it should be able to run at the background in the system try. How can i do this. A link or code snippet will be useful. I already have a SDI application and i have the display message function in it i need to call at scheduled time and it should be able to minimize to system tray. Thanks,
* first learn how to minimize your application to the system tray. * Learn how to set timers for a function. * make a function that compares current time with the scheduled time, if they concide, popup a message. is that you want?:~ All these can be found if you search inside CP itself. He is like a one-legged man in a bum kicking competition. -Novjot Sidhu --[v]--