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 …

  2. 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 …

  3. 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 …

  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 …

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

    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 …

  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 …

    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. 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 …

  10. Timer1.Interval = 30000 ,, is this 30 seconds???-VBForums

    Sep 27, 2004 · Timer is a very unreliable control..... 1000 miliseconds does not mean 1 second....its speed is determined by the CPU load, and the code that it has to perform... The …