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,