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:
01215909
Vues:
16
Hi, Olaf! Good to hear from you again!

About your problem - this is default behaviour when you have set
IE7 security with difffrent level for different site!

If web-site has been marked as trusted it will open in a new
windows.

You have two options - remove tabbed browsing or set protected mode on
for all sites.

wbr,
Juri

>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform