Been searching for awhile on how to do this...
Question:
How do you make Visual Basic (2010) Send Message: KeyDown, KeyUp to an Application?
Note: SendKeys.Send("{Down}") etc. won't work.
Example Script: (This Works, But Only Does Key Press Events)
Any Help Would Be Greatly Appreciated, ThanksCode:Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick Try AppActivate(1612) ' App ID SendKeys.Send("{" & C1.Text & "}") ' Keys To Send Catch ' Error Handling MsgBox(ErrorToString) ' Error Message If Any End Try End Sub![]()




Reply With Quote
