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
Herfried K. Wagner [MVP] - 14 Oct 2005 19:12 GMT
"Abhishek" <mishra712@gmail.com> schrieb:
> I have used WebBrowser control and i want to save the entire webpage
> including pictures etc. I am using ExecWB method of WebBrowser control
[quoted text clipped - 4 lines]
>
> , 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%40cpmsftngxa07>

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Robbe Morris [C# MVP] - 14 Oct 2005 19:38 GMT
You should be able to capture the innerHtml of the document
upon completion of each page load. You can also iterate
through links and images to manage all of this yourself.
This link will point you in the right direction.
http://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=967

Signature
Robbe Morris - 2004/2005 Microsoft MVP C#
http://www.masterado.net
> Hi
>
[quoted text clipped - 14 lines]
> Regards,
> Abhishek