Results 1 to 2 of 2

Thread: [RESOLVED] Ridiculously stupid Timer question ...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2009
    Location
    West Warwick, RI
    Posts
    193

    Resolved [RESOLVED] Ridiculously stupid Timer question ...

    I posted this once already, and it never showed o_O

    Long story short, I haven't been able to program anything for over a year, and now I can't remember a lot of 'simple' things - I need to make a Timer event fire every 45 minutes, and I can't for the life of me remember how to do it! :-(

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,347

    Re: Ridiculously stupid Timer question ...

    The Interval property of a Timer is measured in milliseconds, so it's simple maths to convert a number of minutes to a number of milliseconds. Call Start or set Enabled to True and handle the Tick event.

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