locked
Mouse Mover and clicker RRS feed

  • Question

  • Help me!

    How to  create aplication, that moves and clicks the mouse?

    Wednesday, April 18, 2007 11:31 AM

Answers

  • Hi,

    Same question is answered at

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=521706&SiteID=1

     

    Thanks,

    Ch.T.Gopi Kumar.

    Wednesday, April 18, 2007 11:51 AM
  • I have found that.

    Mouse mover:

     

    Insert timer and set it enabled, interval for example 3000

     

    Public Class Form1

    Dim b, a As Integer

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)

    b = b + 700

    Windows.Forms.Cursor.Position = New Point(30, b)

    If b = 700 Then

    b = -700

    End If

    End Sub

     

     

    Thursday, April 19, 2007 8:40 AM

All replies

  • Hi,

    Same question is answered at

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=521706&SiteID=1

     

    Thanks,

    Ch.T.Gopi Kumar.

    Wednesday, April 18, 2007 11:51 AM
  • I have found that.

    Mouse mover:

     

    Insert timer and set it enabled, interval for example 3000

     

    Public Class Form1

    Dim b, a As Integer

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)

    b = b + 700

    Windows.Forms.Cursor.Position = New Point(30, b)

    If b = 700 Then

    b = -700

    End If

    End Sub

     

     

    Thursday, April 19, 2007 8:40 AM