Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I am trying to use the System.Windows.Forms.Timer class, but can not get it to work. The timer's interval is set to 100 ms. I have created several to handle the Timer's activity.
Dim TimerCounter As Integer
TimerCounter = 0
Me.ABTimer.Enabled = True
Me.ABTimer.Enabled = False
Me.BackupTime.Text = TimerCounter
TimerCounter = TimerCounter + 1
. REM Stuff that takes time.
From my interpretation Timer_Tick starts working on, in this case, 100ms intervals after ABTimer.Enabled = True, but the variable TimerCounter stays at zero.
Does anyone have any idea why this won't work?
Thanks for the assistance,