|
-
Jul 27th, 2009, 02:30 PM
#1
New Member
Re: Desktop Alarm Clock
Thanx VBDT,
I need the inner code to learn how to setup a event scheduler, the graphics are very nice but I don`t need it, sorry for that.
Best regards,
TakeControl
-
Jul 27th, 2009, 04:20 PM
#2
Re: Desktop Alarm Clock
 Originally Posted by takecontrol
Thanx VBDT,
I need the inner code to learn how to setup a event scheduler, the graphics are very nice but I don`t need it, sorry for that.
Best regards,
TakeControl
Hi, you need to check the ClockForm.vb file in the source code file that is provided in this thread. There are two subs that you should be interested in (Clock1_TimeChanged & IsDue methods). The first one is the clock’s time changed event handler that fires every second and calls IsDue method with database record as one of its parameters (you could use a timer object for this that is set to fire for every second). IsDue method is the actual method that checks if the event is due. If it is, than it returns True, otherwise False. Of course there can be different ways of doing this but this is my aproch.
Good luck,
VBDT
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|