Solved

webbrowser1.ShowSaveAsDialog() question.

Posted on 2007-03-26
2
1,729 Views
Last Modified: 2012-06-21
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
Comment
Question by:phc_dev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:phc_dev
ID: 18800720
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
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 18962749
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question