Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
 
500MB 27GB Web Hosting - $9.95/Month
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
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-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated