Make An Internet Browser

This simple example will show you how to view a page that found on the internet.
Just enter the page URL and it will be displayed on your form.

Preparations

Add WebBrowser control to your form (choose from the menu Project->Components, mark the Microsoft Internet Controls check box, and press OK, then drag it to your form).

Form Code

Private Sub Form_Load()
'replace the "http://vbtown.cjb.net" below with the URL you want to display
   
WebBrowser1.Navigate "http://vbtown.cjb.net"
End Sub

Go Back