how to show the html code that the WebBrowser want to save when he want to save html+pictures with the "dialogbox" - before saving. this is the code to open the save "dialogbox" Me.WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER, 0, 0 this is not good for me: Text1.Text = WebBrowser1.Document.documentElement.OuterHTML
Hi, Apparantly, no one has the answer. What I would try is to save the file first and open it afterwards. If you know C++ you could try http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebgen/html/bho.asp - there is some code there to read the HTML code in the browser. Kind regards Hans Le Roy MS MVP Windows/IE "eewwttww" wrote in message news:7E73C6D5-43C6-45CE-BDC2-99B547DD1E0A@microsoft.com... > how to show the html code that the WebBrowser want to save when he want to > save html+pictures with the "dialogbox" - before saving. > this is the code to open the save "dialogbox" > > Me.WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER, 0, 0 > > this is not good for me: > Text1.Text = WebBrowser1.Document.documentElement.OuterHTML > > >