Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Webbrowser File Save As

Status
Not open for further replies.

petermeachem

Programmer
Aug 26, 2000
2,270
0
0
GB
I am trying to save the web page shown on a web browser control in a vb.net programme just like File Save As on Internet Explorer. This used to be quite straightforward in vb6 but I can't find anyway to do it now. I need the whole thing, pictures and head section as well so innerhtml won't do.
I would really appreciate some help on this
 
Do you have to do it yourself?


[tt]WebBrowser1.ShowSaveAsDialog()[/tt]


will do it for you.


If you have to do it yourself, then you may find the properties beginning with the word [tt]Document[/tt] (there are 5 of them) helpful. At a guess [tt]DocumentStream[/tt]. Personally, I've found [tt]ShowSaveAsDialog[/tt] to be the easiest way.


[vampire][bat]
 
Ah, I don't want to show a save as dialog. I want to save to a filename of my choice without the user seeing anything. I didn't explain well
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top