vbnet exectue key presses
Dim Thread as Thread
Application.DoEvents()
Thread = New Thread(AddressOf ThreadTask)
Thread.IsBackground = True
Thread.Start()
Private Sub ThreadTask()
Thread.Sleep(100)
SendKeys.SendWait("{TAB}")
Thread.Sleep(10)
SendKeys.SendWait("{ENTER}")
End Sub