Results 1 to 15 of 15

Thread: Desktop Alarm Clock

Hybrid View

  1. #1
    New Member
    Join Date
    May 2009
    Location
    The Netherlands
    Posts
    3

    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

  2. #2

    Thread Starter
    PowerPoster VBDT's Avatar
    Join Date
    Sep 2005
    Location
    CA - USA
    Posts
    2,922

    Re: Desktop Alarm Clock

    Quote Originally Posted by takecontrol View Post
    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
  •  



Click Here to Expand Forum to Full Width