Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Accessing Local File in IE 9
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01530020
Message ID:
01530054
Vues:
46
>Have some simple code which opens an HTML file and grabs the Document.DocumentElement.innerText:
>
>oIE = CREATEOBJECT("InternetExplorer.Application")
>oIE.Navigate(Somefile.htm)
>cText = oIE.Document.DocumentElement.innerText
>
>When running this code in Windows7 64 Bit (IE 9) and selecting a Local File, I get an Error message that "Document is not an object".
>
>This code works correctly if the File is on the Web or on a Network Drive. There is no problem in Windows XP running IE 8.
>
>Does a Setting in IE 9 have to be tweaked to make this work properly?

Is file in question on the local drive or on the Network?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform