CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2009
    Posts
    2

    i want to mouseclick action on somewhere on the screen?

    Hi.

    in VB.NET. how do i make a mouse click somewhere on the screen?

    thank you.

  2. #2
    Join Date
    Dec 2009
    Posts
    2

    Re: i want to mouseclick action on somewhere on the screen?

    Visual Studio 2008, VB 9 version.

    Pls. i need help

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: i want to mouseclick action on somewhere on the screen?

    Where would you want to click? For what reason?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  4. #4
    Join Date
    Jul 2009
    Location
    Kuwait
    Posts
    170

    Re: i want to mouseclick action on somewhere on the screen?

    Code:
      Private Sub form_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseClick
    
        End Sub
    write the code in this function

  5. #5
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: i want to mouseclick action on somewhere on the screen?

    not for a web page, for instance...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured