hi guys can you pls help me out on this one?
i have this simple code on click button
note: the timer interval is set to 100
Private Sub btn_Submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Submit.Click
Timer1.Enabled = True
For i = 0 To 100
Next
Timer1.Enabled = False
End sub
on the timer1 tick code i have this
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
test_timer += 1
Debug.Print(test_timer & " ms ")
End sub
the problem with this is that the timer1 is not excuting, i already put application.doEvents() on the form load and i also try to put it on the button click event..
what i want to do is to get the elapse time of the words i'm trying to find, it's like a dictionary program, i want to find a certain word and get the elapse time until the word is found...
thank you so much in advance
i have this simple code on click button
note: the timer interval is set to 100
Private Sub btn_Submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Submit.Click
Timer1.Enabled = True
For i = 0 To 100
Next
Timer1.Enabled = False
End sub
on the timer1 tick code i have this
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
test_timer += 1
Debug.Print(test_timer & " ms ")
End sub
the problem with this is that the timer1 is not excuting, i already put application.doEvents() on the form load and i also try to put it on the button click event..
what i want to do is to get the elapse time of the words i'm trying to find, it's like a dictionary program, i want to find a certain word and get the elapse time until the word is found...
thank you so much in advance
Last edited: