Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug with internetexplorer.application OLE automation
Message
From
11/04/2007 12:53:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Bug with internetexplorer.application OLE automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Miscellaneous
Thread ID:
01214523
Message ID:
01214523
Views:
81
The following code did work on XP and with IE6.

Wonder if the bug is in VFP9, Vista or IE7:
oIE = Createobject("internetexplorer.application")
oIE.visible=.t.
oIE.Navigate2("http://www.live.com")
Do While oIE.ReadyState<>4
DoEvents
Enddo
cHTML = oIE.Document.body.innerHTML
oIE.quit
Release oIE
? cHTML
Just running the first three lines, I get two instances of IE7, the one I have a reference to in oIE is not the one, where the navigate2() is executed(!). If an IE7 is already open, navigate is executed in a new tab of that existing instance.

Can anybody verify and confirm that?

I already reported the bug via connect.Microsoft.com

Bye, Olaf.
Next
Reply
Map
View

Click here to load this message in the networking platform