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 page in a new Internet Explorer browser window
DescriptionThis 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.
KeywordsIE, Internet Explorer, Web, browser
CategoriesControls, 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
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated