Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
TitleDisplay a Web document in a Visual Basic application
KeywordsWeb page, WebBrowser, browser
CategoriesControls
 
Use the WebBrowser control's Navigate method to open the Web page.

Before you load anything into the WebBrowser control, it is blank and looks sort of like a hole in your program. This program sets the control's Visible property to False until it finishes displaying something.

 
Private Sub cmdShowURL_Click()
    wbrDesiredURL.Navigate txtURL.Text
End Sub

Private Sub wbrDesiredURL_DownloadComplete()
    wbrDesiredURL.Visible = True
End Sub
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated