Solved

webbrowser1.ShowSaveAsDialog() question.

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now