By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 865 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

Save as WebPages using WebBrowser control

P: n/a
Hi

I have used WebBrowser control and i want to save the entire webpage including pictures etc.
i have called ExecWB method of WebBrowser control with OLECMDEXECOPT_DONTPROMPTUSER flag, but it opens

save as dialog box.
I want automatically save the webpage without using save as dialog box.
"Is there any way of save as webpage?"

regards
Hiaruna

Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi

You can save it in the same way as in internet explorer. For that you need
the execWB method. Remember that a webpage is not one file however a
collection of files

http://msdn.microsoft.com/library/de...webbrowser.asp
I hope this helps,

Cor
Nov 20 '05 #2

P: n/a
* "=?Utf-8?B?cHJvZ3JhbW1lcjIwMDQ=?=" <pr************@discussions.microsoft.com> scripsit:
I have used WebBrowser control and i want to save the entire webpage including pictures etc.
i have called ExecWB method of WebBrowser control with OLECMDEXECOPT_DONTPROMPTUSER flag, but it opens

save as dialog box.
I want automatically save the webpage without using save as dialog box.
"Is there any way of save as webpage?"


Mhm... Do you want to save the file in MHT format?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.