Article ID: 244757 - View products that this article applies to.
This article was previously published under Q244757
The WebBrowser control and Internet Explorer have Save and Save As options that can be used to save files using the ExecWB command. However, this involves prompting from the user. There is no way to suppress this prompt. To save files to the hard-disk without prompting, use the URLDownloadToFile API from URLMON.
The declaration for URLDownloadToFile is as follows:
The function can be called as follows:
Note that when downloading HTML files, embedded content like images and objects will not be downloaded.
URL Monikers Functions
Article ID: 244757 - Last Review: July 1, 2004 - Revision: 2.2
Contact us for more help
Connect with Answer Desk for expert help.