Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug with internetexplorer.application OLE automation
Message
De
11/04/2007 12:53:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Bug with internetexplorer.application OLE automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Divers
Thread ID:
01214523
Message ID:
01214523
Vues:
82
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform