Positioning is done as follows
Public Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y As Long) As Long
Sub Set_Cursor_Pos(xpos As Long, ypos As Long)
SetCursorPos xpos, ypos
End Sub
I can call set_cursor_pos from my program, and the cursor moves to where I want it...
I think that I have not expressed what I need to do correctly
I am not wanting to press the mouse down on a VB6 programmed button, but one on a web page, so I am not in control of the Button itself at all.
Thanks for your answer anyway.
I have written many VB6 programs, and one that I use has to press a button for me automatically , the program having positioned the cursor in the correct position. This works fine in NON compiled format, but when I compile the program, it just does not work.
Its very simple - I use the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.