Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Internet Explorer 1

Status
Not open for further replies.

ranc

Programmer
Oct 29, 2000
9
IL
Hi,

How can I open an Internet Explorer (even if it's not the default browser) window using VB ?

10x,
ran
ran@swapstation.com
 
ran -- you could use the shell() function and just call iexplorer directly
Mike
michael.j.lacey@ntlworld.com
 
You can use the CreateObject function:

Sub StartIE()
Dim MyWeb As Object
Set MyWeb = CreateObject("InternetExplorer.Application")
MyWeb.Visible = True
MyWeb.navigate "End Sub

Or, add Microsoft Internet Controls to your references.

Sub StartIE2()
Dim ie As InternetExplorer
Set ie = New InternetExplorer
ie.Visible = True
ie.AddressBar = True
ie.Navigate ("End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top