Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug with internetexplorer.application OLE automation
Message
 
To
11/04/2007 12:53:41
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Miscellaneous
Thread ID:
01214523
Message ID:
01214537
Views:
12
>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.


VFP9 SP1, Windows Server 2003, IE7 - no problems.
Only one instance is running, if IE is already open a new instance is created.

BUT My default browser is not IE and I set any options in it.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform