Hi,
I am trying to launch IE7 and load pages at google.com via VBA (VB6.3). While the following code can launch IE7 and load yahoo pages:
Sub test()
Dim objIE As InternetExplorer
Set objIE = New InternetExplorer
objIE.Visible = True
objIE.Navigate "http://www.yahoo.com"
End Sub
It doesn't work for any of the pages at www.google.com, i.e., IE7 hangs and won't load pages from google.com. This happens only if IE7 is launched via VBA. In addition, if one uses the above code to launch IE7 and then physically type www.google.com in the navigation bar, IE7 would just hang and won't load the google home page.
Does anyone know if this is a known issue. If so, is there a work around or fix? If not, then is this a bug?
Thanks,
Tom
I am trying to launch IE7 and load pages at google.com via VBA (VB6.3). While the following code can launch IE7 and load yahoo pages:
Sub test()
Dim objIE As InternetExplorer
Set objIE = New InternetExplorer
objIE.Visible = True
objIE.Navigate "http://www.yahoo.com"
End Sub
It doesn't work for any of the pages at www.google.com, i.e., IE7 hangs and won't load pages from google.com. This happens only if IE7 is launched via VBA. In addition, if one uses the above code to launch IE7 and then physically type www.google.com in the navigation bar, IE7 would just hang and won't load the google home page.
Does anyone know if this is a known issue. If so, is there a work around or fix? If not, then is this a bug?
Thanks,
Tom