• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1814
  • Last Modified:

webbrowser1.ShowSaveAsDialog() question.

I am using vb.net 2005 and the web browser tool in my vb app and have a question regarding the webbrowser1.ShowSaveAsDialog().  I realize that for security reasons, I can no longer hide this dialog and automatically save the current page my browswer is pointing to on my users hard drive. What I would at least like to do is pre-set the file name and directory where the html page from the built-in browser should be saved. I currently save the file using webBrowser1.Document.Body.OuterHtml but that does NOT save the pictures and graphics which I definitely need for printing purposes.

1) is this possible?
2) is there a way to fire the Save button on the dialog from within my code?
3) is there a way to pull in the graphics and pictures?
3) is it possible to do this in the background?

Thanks!
0
phc_dev
Asked:
phc_dev
1 Solution
 
phc_devAuthor Commented:
I have answered my own question and found my solution at:
http://www.codeproject.com/vb/net/MhtBuilder.asp
this tool does everything that I was looking for.
0
 
EE_AutoDeleterCommented:
phc_dev,
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now