If you are new to VB than you should try something simpler. Do you know the API. Also some things can not be done in VB ( i mean with hardware control).
Printable View
If you are new to VB than you should try something simpler. Do you know the API. Also some things can not be done in VB ( i mean with hardware control).
Use the SetCursorPos API.
Change x and y to the x and y position you want the mouse to change to.VB Code:
Private Declare Function SetCursorPos Lib "user32" (ByVal x As Long, ByVal y As Long) As Long Private Sub Command1_Click() SetCursor x, y End Sub