declare long URLDownloadToFile in URLMON.DLL ; long, string, string, long, long lcURL = 'http://www.whatever.com/somefile.html' lcFile = 'c:\somefolder\somefile.html' lnResult = URLDownloadToFile(0, lcURL, lcFile, 0, 0) if lnResult <> 0 messagebox('Failed to download ' + lcURL) endif lnResult <> 0Doug