Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I've read some oblique questions before, but you win.

"It may be roundly asserted that human ingenuity cannot concoct a cipher which human ingenuity cannot resolve."

 

- Edgar Allan Poe, 1841

 

I long to accomplish great and noble tasks, but it is my chief duty to accomplish humble tasks as though they were great and noble. The world is moved along, not only by the mighty shoves of its heroes, but also by the aggregate of the tiny pushes of each honest worker.

 

- Helen Keller

  • Leaders
Posted

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
   
   Cursor.Position = New Point(300, 90) '/// put the location you want to move the mouse to , in the Point co-ordinates.

End Sub

 

or ....

move yer right arm, grab the mouse and slide it along the mat ;) ( jk ):cool:

  • Leaders
Posted

oops i forgot , you want to click it also , here ya go ...

   Private Declare Sub mouse_event Lib "user32.dll" (ByVal dwFlags As Integer, ByVal dx As Integer, ByVal dy As Integer, ByVal cButtons As Integer, ByVal dwExtraInfo As Integer)


   Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
       Dim x As Integer = CInt(&H2) Or CInt(&H4)
       Cursor.Position = New Point(300, 90) '/// put the location you want to move the mouse to , in the Point co-ordinates.
       mouse_event(x, Cursor.Position.X, Cursor.Position.Y, 0, 0)
   End Sub

Posted

lol vveeerrry funny you guys, make fun of the new guy :p

 

But what I wanted to do in more detail was this:

 

There is a button on the form, button1. Now what I want to happen is when someone hits button1, I want the mouse pointer FORCED to move to the bottom left side part of the screen, and then FORCED to left click there.

 

-------------------------------------Edit-------------------------------------

 

Or wait you just said that....my bad lol. I can't read today :-\

 

Thank you! I'm going to try it out!

"Reality is fake, Dreams are for real"
Posted

OMG AAAHH!!!! dynamic_sysop You are the man!!

 

I finally have figured OUT how the HECK that guy that told me to download this program that dropped all of my items in Diablo II did! I got that guy good ! aahhahahaa....yeah....Hey and now I can create a RUN bot! Cool, a bot in Diablo II that can do all of the work for me lol. Oh this opens a huge portal *sigh*.

 

Life is just too good :rolleyes:

"Reality is fake, Dreams are for real"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...