For the WebBrowser control, call navigate2 passing the page you want.
Add an event handler for OnNavigate2Complete.
From the event handler can get the document object from the document
property of the webbrowser control.
From the document object you can get the HTMLBodyElementClass object.
MSHTML.HTMLDocumentClass htmlDoc = (MSHTML.HTMLDocumentClass)_axWb.Document;
MSHTML.HTMLBodyClass _body;
_body = (MSHTML.HTMLBodyClass) htmlDoc.body;
To display the HTML use the _body.outerHTML attribute.
HTH
Quote:
> In CDO ,The CreateMHTMLBody method converts the contents of an entire Web
> page into a MIME Encapsulation of Aggregate HTML Documents (MHTML)
formatted
> message body.
> Can you tell me how to display the body in webbrowser ctl other than
saving
> to files.