Greetings.
I have an application running that I need to send the keypress "F6" to. I have code to find the app, but I cannot seem to get any keypresses sent to it. This is what I have so far:
_______________ _______________ _______________ _________
Private Declare Function FindWindow Lib "user32" Alias "FindWindow A" _
(ByVal lpClassName As String, _
ByVal lpWindowName As Long) _
As Long
_______________ _______________ _______________ __________
Private Sub Command1_Click( )
currentwindow = FindWindow("BA1 FrameWindow", 0)
End Sub
_______________ _______________ _______________ _________
I need to insert some code into this that will fire the "F6" key.
Any help will be greatly appreciated! Thanks!
I have an application running that I need to send the keypress "F6" to. I have code to find the app, but I cannot seem to get any keypresses sent to it. This is what I have so far:
_______________ _______________ _______________ _________
Private Declare Function FindWindow Lib "user32" Alias "FindWindow A" _
(ByVal lpClassName As String, _
ByVal lpWindowName As Long) _
As Long
_______________ _______________ _______________ __________
Private Sub Command1_Click( )
currentwindow = FindWindow("BA1 FrameWindow", 0)
End Sub
_______________ _______________ _______________ _________
I need to insert some code into this that will fire the "F6" key.
Any help will be greatly appreciated! Thanks!
Comment