Found the following interesting discussion in the Newsgroups:
| Need to write a program that wakes up every 15 minutes and does something by: Just Me | |
| Need to write a program that wakes up every 15 minutes and does something. I guess I could just create a Windows application and schedule it to run every 15 minutes. Or I could have a program always in memory that uses a timer to activate it every 15 minutes. 1) Any suggestions? 2) Any example code if the way to go it to stay in memory? 3) Is 2 above what is called a service? Thanks | |
| Reply: by:spamfurnace | |
| > 1) Any suggestions? > > 2) Any example code if the way to go it to stay in memory? > > 3) Is 2 above what is called a service? 1. Create a windows service 2. Check out Windows Service Components in docs. 3. Yes. Note that strictly speaking a service has no user interface. I assume you reqiure no user interaction? Alos note the difference in timers for Windows forms and server timers. Two different classes that have different benefits/disadvantages. You want server timers. The choice of activation method is entirely dependant on what your doing, how the user is affected/ivloved in the rocess/if there is a user at all. If there is a user - dont use a windows service. hth Richard | |
| Reply: by: Just Me | |
| I found some documentation and now realize it was not a question that can be answer in a few sentences. After a little study I think I get it OK. If not I'll be back. Thanks for the info below! | |
Posted by Xander Zelders

0 Comments:
Post a Comment
<< Home