Ok, this time i have a question about timers.
what do i need to make them go?
Like say i wanted a timer to count and then display that counted number on a lable or something? what would i do?
---Flac
Printable View
Ok, this time i have a question about timers.
what do i need to make them go?
Like say i wanted a timer to count and then display that counted number on a lable or something? what would i do?
---Flac
VB Code:
Dim count As Integer 'form level Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Timer1.Enabled = True 'enables timer. you could just have it enabled if you click on the timer and look for the Enabled property End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick count += 1 Label1.Text = count End Sub