Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I reference MSHTML.DLL component library
Message
From
05/09/2001 19:24:49
 
 
To
04/09/2001 05:10:12
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00551971
Message ID:
00552914
Views:
26
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform