Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Static nVal1 As Boolean If GetAsyncKeyState(Keys.A) = 0 Then If nVal1 Then SendKeys.Send(GrpTxt1.Text) SendKeys.Send("{Enter}") nVal1 = CBool(GetAsyncKeyState(Keys.A)) End If End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)