Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automation internet explorer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01047605
Message ID:
01047612
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform