?
Solved

webbrowser1.ShowSaveAsDialog() question.

Posted on 2007-03-26
2
Medium Priority
?
1,747 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

777 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