Solved

webbrowser1.ShowSaveAsDialog() question.

Posted on 2007-03-26
2
1,695 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
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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Trying to get PDF to open as "Open,Save,Cancel" instead of as a pop-up. 6 42
VB.Net Report Printing Issue 3 32
write xml in vb.net 2 24
.NET 2008 VB and C# 6 27
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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