Results 1 to 12 of 12

Thread: Programatically clicking links in WebBrowser control

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2002
    Posts
    434

    Programatically clicking links in WebBrowser control

    Hello

    I have an app that logs onto a web page. And manipulates the page. I want it to click on a link. I tried this but it failed:
    Code:
    brwWebBrowser.Document.All.Item("Weather").Click
    I get a "run time error 91 objectvariable not set".
    This code works for clicking on the submit button in the same procedure but not on the links. What am I doing wrong?

    The html code for the link is:
    <a href="Weather.asp">Weather</a><BR>

    Thanks

    David RH
    Last edited by David RH; May 3rd, 2003 at 01:10 AM.

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