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

Click here to load this message in the networking platform