Any ideas? Have tried Timer1.Enabled = False but it doesn't seem to work.
Printable View
Any ideas? Have tried Timer1.Enabled = False but it doesn't seem to work.
Hi:
I believe that your idea is OK (Timer1.Enabled = False).
I have tested the following program and work fine.
Dim cont as Long
private Sub Form_Load()
Timer1.Interval = 10
End Sub
private Sub Start_Timer_Click()
Timer1.Enabled = true
End Sub
private Sub Stop_Timer_Click()
Timer1.Enabled = false
End Sub
private Sub Timer1_Timer()
cont = cont + 1
Text1.Text = cont
End Sub
Good luck. Bye..