Hello, i'm very new to the VBForums and programming in VisualBasic itself. I am currently using Visual Basic 5.
What my problem is... when I try and use the SendKeys to another app it doesn't work. [I've searched the forums but I don't understand the SendMessage or PostMessage etc.]
So could someone please explain to me how to substituite the SendKeys to a more usefull command in VB.
Here is my current code -
Note: The t at the start of the first SendKeys is so that the dialogue tab opens up so you can talk. I'm sure that is the problem to the SendKeys because it has nowhere to type it in.Code:VB Code:
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) AppActivate "Halo" SendKeys "tHello" SendKeys "{Enter}" End Sub
Thanks in advance.![]()




Reply With Quote