So i'm working on this autotalker and it's good as done, there's just one problem i can't fix
This problem is, the stop button doesn't work unless u click 10x on it after eachother
I want to let it stop in one click just like the start button does
I think I didn't do anything wrong in here (I used Microsoft Virtual Basic 2010 Expres)
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
tmrSend.Start()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
tmrSend.Stop()
End Sub
Private Sub tmrSend_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrSend.Tick
SendKeys.Send("{Q}")
End Sub
Private Sub MaskedTextBox1_MaskInputRejected(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MaskInputRejectedEventArgs)
End Sub
Private Sub Label2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
End Class
If you know what's wrong:
Comment bellow
Or
Teamviewer me