How do I use the sendmessage api to send commands such as 'enter' or 'ctrl+s' to a program?
Use keybd_event will do
My Virtual Home - My Blog
or just use the Sendkeys function Code: Private Sub Command1_Click() SendKeys "{ENTER}" End Sub Private Sub Command2_Click() SendKeys "^s" End Sub 'Code improved by vBulletin Tool (Save as...)
Private Sub Command1_Click() SendKeys "{ENTER}" End Sub Private Sub Command2_Click() SendKeys "^s" End Sub 'Code improved by vBulletin Tool (Save as...)
Forum Rules