Hi everybody

Below is a section of basic codes on how to use the timer class. May i know is there anyway i can implement a progressbar to indicate the 1 second interval for the timer class ? Thank you very much.



Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRx.Click

Timer1.Interval = 1000
Timer1.Enabled = True

'Do something if they respond ???
'If they respond in time turn off the timer

Timer1.Enabled = False

End Sub

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick

MessageBox.Show("Times Up!", "Timer")

End Sub