Results 1 to 4 of 4

Thread: webbrowser control

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2010
    Posts
    1

    webbrowser control

    Hi,

    I am trying to load the google home page from my VB program. its simply not loading the page.

    this is what I have used :

    WebBrowser1.Navigate2 ("www.google.com")

    I am running IE6. is there something that I am missing?

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: webbrowser control

    The WebBrowser control is very buggy. Check if it is set to Offline mode before navigating.

  3. #3
    Addicted Member
    Join Date
    Jan 2010
    Location
    Obuasi
    Posts
    151

    Re: webbrowser control

    try this one
    WebBrowser1.Navigate "www.google.com"
    There's only one thing that makes a dream impossible to achieve: THE FEAR OF FAILURE

  4. #4
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: webbrowser control

    WebBrowser1.Navigate2 ("www.google.com")
    works for me
    it could be an internet explorer problem
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

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