I'm having a issue with the following Code. SendKeys DOES work, but only 15% of the time. Is there a more stable way to send keys to another program?
-----------------------------------------------
Private Sub Command1_Click()
Dim RetVal
RetVal = Shell("C:\SomeDIR\Some.exe", 4)
End Sub
Private Sub Command2_Click()
AppActivate "SomeProgram", True
SendKeys "%S", True
End Sub
-----------------------------------------------
Thank you,
Andrew
*************************************
* Help stop the CBDTPA Bill from becoming law *
* Please visit and *
* *
*************************************
-----------------------------------------------
Private Sub Command1_Click()
Dim RetVal
RetVal = Shell("C:\SomeDIR\Some.exe", 4)
End Sub
Private Sub Command2_Click()
AppActivate "SomeProgram", True
SendKeys "%S", True
End Sub
-----------------------------------------------
Thank you,
Andrew
*************************************
* Help stop the CBDTPA Bill from becoming law *
* Please visit and *
* *
*************************************