Article ID: 244757 - Last Review: July 1, 2004 - Revision: 2.2 How To Download a File Without PromptingThis article was previously published under Q244757 SUMMARY
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.
MORE INFORMATION
The declaration for URLDownloadToFile is as follows:
The function can be called as follows: REFERENCESURL Monikers Functions
(http://msdn.microsoft.com/en-us/library/ms775126(VS.85).aspx)
APPLIES TO
| Article Translations
|

Back to the top
