Results 1 to 3 of 3

Thread: [2008]Find out when a link in a Webbrowser Component is clicked, but no action occur

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2008
    Posts
    11

    [2008]Find out when a link in a Webbrowser Component is clicked, but no action occur

    Hi everyone!

    I put a WebBrowser component on my program. I made it so that clicks on specific locations are automated determining on the situation.

    I've found out how to find out when a WebBrowser component has finished loading a document, but how would I go about finding out when the mouse clicks but the WebBrowser doesn't do anything because there is no url link there?

    For example: say I go to google.com and the program moves the mouse to preferences. It clicks on the preferences link and when the preferences link is opened and the website finished loading, it clicks again but on the same location where the preferences link was just a moment before. This time there is NO link at that location so the mouse clicked on nothing. I need the program to figure out that the mouse clicked on nothing because the webbrowser did not change. How would I go about doing this?

    I tried doing this:
    Code:
    If WebBrowser1.ProgressChanged = False Then
    
            End If
    but I get the following error message:
    'Public Event Progress Changed(sender As Object, e As System.Windows.Forms.WebBrowserProgressChangedEventArgs)' is an event, and cannot be called directly. Use a 'Raise Event' statement to raise an event.

    Thanks.
    Last edited by elemaeoh; May 2nd, 2008 at 05:50 PM.

  2. #2

    Thread Starter
    New Member
    Join Date
    Apr 2008
    Posts
    11

    Re: [2008]Find out when a link in a Webbrowser Component is clicked, but no action occur

    So sorry...but

    -BUMP-

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2008
    Posts
    11

    Re: [2008]Find out when a link in a Webbrowser Component is clicked, but no action occur

    Is there really no way to figure this out?

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