>I'm trying to get the source text of a html page from within a VFP8 application. I just want the same thing as if you opened up the URL in a browser and selected view source. Is there any way of doing this?
>
>Thanks!!
Hi John,
You can also use MS ActiveX control named "Internet Transfer Control". It allows you to get files asynchronously using not only http, but ftp and gopher protocols.
Just drop this control on the form, name it, let's say, "oInet" and put somewhere this piece of code:
cHTMLDoc = ThisForm.oInet.OpenURL("http://www.somesite.com.pl",0)
And you've got it.
Best,
Janusz Czudek
WORD Software
http://www.wordsoft.com.pl