This function that I picked up from somewhere or other will do it for you!
This method doesn't use an Internet Explorer ActiveX control, but it does require Api functions contained in DLL's that were originally installed with IE (probable v3.0). These are now (WinME/2k/XP/+) standard, I believe. If anyone knows otherwise, let me know!
* readurl.prg 06-Mar-98
* 06-Mar-98 pulled from Q174524 on March 98 Technet CD * 06-Mar-98 bug fixed about the length of the sReadBuffer
*Any Internet or intranet URL can be passed as a parameter. Microsoft.com *was chosen for this example.
*Note that Microsoft Internet Explorer must be installed on the computer.
* passed: URLName, in the form "http://www.microsoft.com" * * returns: the content of the URL * * usage: * * uWebContent = ReadURL( "http://www.microsoft.com" ) * uWebContent = ReadURL( "http://www.SomeSite.com/SomeJPG.jpg" ) * * notes: * 1 - IE does not need to be running to use this, but must be installed