Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem Accessing Local File in IE 9
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01530020
Message ID:
01530054
Views:
49
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform