I here this is a pretty good forum so I'll throw you all of the though questions that I've been fighting with!
Any idea how to make the mouse move to a specified location on the screen?
Printable View
I here this is a pretty good forum so I'll throw you all of the though questions that I've been fighting with!
Any idea how to make the mouse move to a specified location on the screen?
lokk at this site there is the answer
http://www.vbapi.com/ref/m/mouse_event.html
Use the SetCurosrPos API.
Code:Private Declare Function SetCursorPos Lib "user32" (ByVal x As Long, ByVal y As Long) As Long
Private Sub Command1_Click()
'Move the cursor to 100,100
SetCursorPos 100, 100
End Sub