Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automation internet explorer
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01047605
Message ID:
01047612
Views:
11
Steve!

oIE = createobject('internetexplorer.application')
oIE.Navigate('www.tek-tips.com')
lcStr=oIe.Document.body.innertext

but, when I try to run this, I find that my oIe.Document has not .body


Yes, I had this too. You will need to assign a var to the document. then it works
oIE = createobject('internetexplorer.application')
oIE.Navigate('www.tek-tips.com')

oDoc = oIE.Document
lcStr=oDoc.body.innertext
should work
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Previous
Reply
Map
View

Click here to load this message in the networking platform