>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;
There are several ways to do that. The simplest one:
Declare Long URLDownloadToFile in "urlmon";
Long pCaller,;
String szURL,;
String szFileName,;
Long dwReserved,;
Long lpfnCB
url="http://www.whateversite.com"
localfilename="LocalPathWhereToBeSaved"
ngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0)
? ngRetVal