Question:
I am developing an application in VB which requires Reminders.
On the basis of dates input, if the current date goes past the date in the database it should show a reminder in the form of a Messagebox.
I think it will be in a timer event but I do not know how. Can you help me?
Answer:
Essentially, you need to check on a periodic basis that is greater than what the timer control can actually handle. The timer control can time approximately one minute (60000 milliseconds). If you have a lot of items, you might want to keep track of how many timer events have happened.
When you hit 60, that means that an hour has passed and you can check your reminders. If you only have a few reminders, it probably wouldn’t hurt to check whenever the timer goes off. Either way will work, but you’ll have to choose based on your application’s needs.