About 50 results
Open links in new tab
  1. how to set timer.interval = 1 hour?-VBForums - Visual Basic

    Dec 20, 2005 · A Timer's interval can only be set to 60,000 (60 seconds). The best thing to do is have a start date which you can set in a variable using String = Now, then in your timer have it constantly …

  2. Synchronize timer tick to fire once an hour on the hour.-VBForums

    Aug 20, 2015 · Re: Synchronize timer tick to fire once an hour on the hour. @OP, your code looks fine, except that the first time the timer fires because when you set the first Interval you are setting …

  3. Timer every hour...-VBForums

    Dec 4, 2005 · Not so much an answer to my own thread, but should my code do something like this: On launch, run once (again, pseudocode): minutes = Now () minutes = 60 - minutes timer.Interval = …

  4. VS 2017 Count down timer in VB.NET-VBForums - Visual Basic

    Jan 28, 2023 · The Timer is named Timer1. When the form loads, the currentTime variable is set to the startTime, which is 1 hour (3600 seconds), and the timerRunning variable is set to false.

  5. [RESOLVED] Trying to create a 24-hour Timer-VBForums

    Jun 10, 2010 · Re: Trying to create a 24-hour Timer Use a static variable to count the number of timer.tick event raised and base on that to perform your task. For example, if you set timer1.interval = …

  6. [RESOLVED] Need a timer that will execute code every day at a certain ...

    Oct 15, 2014 · Re: Need a timer that will execute code every day at a certain time For the first set of code, say I want it to run at both 8PM and 8AM. How would I edit this code to distinguish between …

  7. Timer 1 Hour Problem???-VBForums - Visual Basic

    Mar 23, 2004 · So to run the timer for an hour, set the tag value to 3600, set the timer interval to 1000 (1 second) and in the timer_timer event do the following, works a treat.

  8. [RESOLVED] Countdown Timer with minutes seconds and milliseconds …

    Jan 5, 2008 · Re: Countdown Timer with minutes seconds and milliseconds If you only need 2 places for the fraction of a second part then I recommend setting the timer interval to 10.

  9. VS 2013 [RESOLVED] Super Simple Countdown timer-VBForums

    Mar 12, 2015 · In other words, what you have created is an alarm clock, where you set the time for it to go off, and as long as the timer is running, it is counting down towards that set target time.

  10. Timer in DLL [solved]-VBForums

    Jan 25, 2002 · You can use this timer that uses the API. Declare an object using the WithEvents keyboard in your DLL and you have an Timer event. This timer also use a Long for the Interval event …