SaveAs with WebBrowser Control

  • Thread starter Thread starter Abhishek
  • Start date Start date
A

Abhishek

Hi

I have used WebBrowser control and i want to save the entire webpage
including pictures etc. I am using ExecWB method of WebBrowser control
with OLECMDEXECOPT_DONTPROMPTUSER flag (as in folowing statement)

ie.ExecWB(OLECMDID.OLECMDID_SAVEAS,
OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER,ref Outfile, ref _null);

, but it opens a SaveAs dialog box. Also, if I click on Save, the page
is saved without the images and other resources.

I want automatically save the webpage without using save as dialog box.
Does anybody know how to get this done.
Thanks in advance.

Regards,
Abhishek
 
Abhishek said:
I have used WebBrowser control and i want to save the entire webpage
including pictures etc. I am using ExecWB method of WebBrowser control
with OLECMDEXECOPT_DONTPROMPTUSER flag (as in folowing statement)

ie.ExecWB(OLECMDID.OLECMDID_SAVEAS,
OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER,ref Outfile, ref _null);

, but it opens a SaveAs dialog box.

For security reasons that's not supported since IE4:

<URL:http://groups.google.de/groups?selm=L3yAKK0RCHA.2372@cpmsftngxa07>
 
Back
Top