|  |  | 
              
              | 
                  | Title | Display a Web document in a Visual Basic application | 
|---|
 | Keywords | Web page, WebBrowser, browser | 
|---|
 | Categories | Controls | 
|---|
 |  | 
 |  | 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 |  |  |  |   |  |  |  |  |