Nov 8, 2000 #1 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
Hi, How can I open an Internet Explorer (even if it's not the default browser) window using VB ? 10x, ran ran@swapstation.com
Nov 9, 2000 #2 MikeLacey MIS Nov 9, 1998 13,212 GB ran -- you could use the shell() function and just call iexplorer directly Mike michael.j.lacey@ntlworld.com Upvote 0 Downvote
ran -- you could use the shell() function and just call iexplorer directly Mike michael.j.lacey@ntlworld.com
Nov 9, 2000 1 #3 dsi Programmer Mar 13, 2000 964 US You can use the CreateObject function: Sub StartIE() Dim MyWeb As Object Set MyWeb = CreateObject("InternetExplorer.Application" MyWeb.Visible = True MyWeb.navigate "http://www.microsoft.com";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 ("http://www.microsoft.com";)End Sub Upvote 0 Downvote
You can use the CreateObject function: Sub StartIE() Dim MyWeb As Object Set MyWeb = CreateObject("InternetExplorer.Application" MyWeb.Visible = True MyWeb.navigate "http://www.microsoft.com";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 ("http://www.microsoft.com";)End Sub