Question VB 2008 Move Mouse to Pixel

james855446

New member
Joined
Jun 24, 2009
Messages
1
Programming Experience
Beginner
okay i have a simple form like this
sssssssl.jpg


How can i Move my mouse to the Red part in the Middle of the form i know it's something to do with Pixels but i don't know how to do that :mad: if anyone could answer my question i would be so happy :) so please if you know Please ! Post
 
Do you mean move the cursor with an event, then you can adopt this to fit your needs:
VB.NET:
Windows.Forms.Cursor.Position = New Point(50, 50)
Change the integers to your (control.Left + 10, control.Top + 10) or whatever. :cool:
 
Back
Top