Hello everyone im newbie,
I have a question about vb2010.
I have a few timers and a few buttons. One button start, one button stop the program.
My timer works with this way:
Its mean if i click button 1, its click "1" with 2050 interval on my keyboard. and the second timer is click "2" with 2090 interval.
But if i didnt stop the program its being like lately. everytime i lose like 40 interval. Everytime its click the "1" 40 interval lately.
Can you recommend me a few code for repeat ? Its like the timers will stop automatically after 2090 interval, and will start automatically when its stop.
I have a question about vb2010.
I have a few timers and a few buttons. One button start, one button stop the program.
My timer works with this way:
Code:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
SendKeys.Send("{1}")
End Sub
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
SendKeys.Send("{2}")
End Sub
But if i didnt stop the program its being like lately. everytime i lose like 40 interval. Everytime its click the "1" 40 interval lately.
Can you recommend me a few code for repeat ? Its like the timers will stop automatically after 2090 interval, and will start automatically when its stop.
Comment