Hi all
I've got some simple code to automate IE, navigate to a URL and download
the page as text.
This code works fine in IE8
oIE=createobject("InternetExplorer.Application")
oIE.Navigate("http://www.microsoft.com")
do while oIE.ReadyState<>4
Inkey(1)
Enddo
? oIE.Document.Body.InnerText
The compiled application fails with "Body is not an object" on Windows 7
and IE9.
If I run this line by in the command window Intellisense tells me there
is no body although I can just ignore Intellisense and ask for the body.
I can then see its InnerText.
Intellisense also fails in IE8/WinXP but the compiled application works
fine.
Has any come across this one please because it is driving me nuts.
Cheers
Graham
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.