PS! Very beginner here, so excuse the stupid questions
So I'm creating this appointment/alert desktop program. You can save appointments to a certain time, view them, and get notified when they are about to take place. Two questions.
1) I want to create a popup when an appointment is at its' deadline. The plan is to create a timer that runs a piece of code every minute, checking all todays appointments to see if the time matches on any of them. How intensive is this on the computer? It's basically a piece of code that would be executing itself every minute, 24/7.. Are there better ways to do this?
2) I'm trying to allow the user to check a box if they want the program to run on startup. I know startup can take place in the registry, or you can put a shortcut to the startup folder.. Haven't found any good code examples anywhere for this. Any help? : (
So I'm creating this appointment/alert desktop program. You can save appointments to a certain time, view them, and get notified when they are about to take place. Two questions.
1) I want to create a popup when an appointment is at its' deadline. The plan is to create a timer that runs a piece of code every minute, checking all todays appointments to see if the time matches on any of them. How intensive is this on the computer? It's basically a piece of code that would be executing itself every minute, 24/7.. Are there better ways to do this?
2) I'm trying to allow the user to check a box if they want the program to run on startup. I know startup can take place in the registry, or you can put a shortcut to the startup folder.. Haven't found any good code examples anywhere for this. Any help? : (