|
|
Title | Display a Web page in a new Internet Explorer browser window |
Description | This example shows how to display a Web page in a new Internet Explorer browser window in Visual Basic 6. The program creates a new InternetExplorer object and uses its Navigate method. |
Keywords | IE, Internet Explorer, Web, browser |
Categories | Controls, Internet |
|
|
Thanks to Gamal Azim.
At design time, add a reference to Microsoft Internet Controls. Then create a new InternetExplorer object and use its Navigate method to open the URL.
|
|
Private Sub Command1_Click()
Dim IE As New InternetExplorer
IE.Visible = True
IE.Navigate ("www.mvps.org/vb")
End Sub
Private Sub Command2_Click()
Dim IE As New InternetExplorer
IE.Visible = True
IE.Navigate ("www.vb-helper.com")
End Sub
Private Sub Command3_Click()
Dim IE As New InternetExplorer
IE.Visible = True
IE.Navigate ("www.andreavb.f2s.com/")
End Sub
|
|
|
|
|
|