Results 1 to 40 of 135

Thread: Webbrowser Control Tip and Examples

Hybrid View

  1. #1
    New Member
    Join Date
    Oct 2007
    Posts
    11

    Re: Webbrowser Control Tip and Examples

    Hello,
    I'm using this code from a previous example in thread.

    Private Sub Command1_Click()
    WebBrowser1.Document.All("q").focus
    End Sub

    Private Sub Form_Load()
    WebBrowser1.Navigate "http://www.google.com/"
    End Sub

    It all works great. But due to the lack of documentatiion I can seem to find a way of entering something in the text box and then reloading the page. Any help would be greatly appreciated. Or even a link to some documentation would work too.

    Thanks

  2. #2
    New Member
    Join Date
    Oct 2007
    Posts
    11

    Re: Webbrowser Control Tip and Examples

    Figured it out. Just in case anyone is interested, this works.

    Code:
    WebBrowser1.Document.All("q").focus
    WebBrowser1.Document.All("q").Value = "blah blah"
    WebBrowser1.Document.All("btng").focus
    WebBrowser1.Document.activeElement.Click
    Cheers...

  3. #3
    New Member
    Join Date
    Oct 2007
    Posts
    14

    Re: Webbrowser Control Tip and Examples

    i keep getting an Error 91 message. Anyone know why?

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