Home All Groups Group Topic Archive Search About
Author
14 Oct 2005 4:19 AM
Peter Newman
vb6 (sp6)

i am trying to use the webbrowser control and am having a few troubles.  I
would live to allow user to browse to other web pages but there is no address
line visible dispite it being set as true in the controls properties.  its a
simple peice of code ...am i missing something ?

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

Author
14 Oct 2005 9:47 AM
Martin de Jong
I dont think you are missing something:)

Beware that the control is asynchrone(?) so you need to catch events like
navigate_complete etc to be sure the navigation succeeded adns was
completed...

Martin

Show quoteHide quote
"Peter Newman" <PeterNew***@discussions.microsoft.com> schreef in bericht
news:7DB2ED4C-58AF-4ED5-A494-905060580296@microsoft.com...
> vb6 (sp6)
>
> i am trying to use the webbrowser control and am having a few troubles.  I
> would live to allow user to browse to other web pages but there is no
address
> line visible dispite it being set as true in the controls properties.  its
a
> simple peice of code ...am i missing something ?
>
> Private Sub Form_Load()
>        WebBrowser1.Navigate "http://www.google.com"
> End Sub