Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I reference MSHTML.DLL component library
Message
De
05/09/2001 19:24:49
 
 
À
04/09/2001 05:10:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00551971
Message ID:
00552914
Vues:
25
>Hy gays
>
>Any one can explain me how reference a DLL library eventually for create an object from it. The DLL that I want use from VFP 7.0 is the MSHTML.DLL necesary for an application that read an html document content.
>
>Many thanks for any help

You can also use the web browser control or even the internet explorer automation object. For example, to get all of the contents of an HTML document using IE you would do something like this:
oIE = CreateObject("InternetExplorer.Application")
oIE.Navigate("www.mydomain.com/somepage.html")

Inkey(1)
Do While oIE.Document.ReadyState <> "complete"
Enddo

lcHTML = oIE.document.documentElement.innerHTML && contains the html source

oIE.Quit
Release oIE
Where lcHTML will contain the html source for the page.
HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform