Can you tell me how to display the body in webbrowser ctl other than saving
to files.
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
"malei" <ma...@bisp.com> wrote in message
news:#gcccMh2BHA.428@tkmsftngp03...
Once you have access to the DOM you can do anything you like. For example,
Could nav2 a page on the internet, get the body element and store
body.innerHTML in a string. Navigate2 a placeholder page, and replace the
innerHTML of the body with that held in the string.
I think I know what you're actually trying to do, that is to render an HTML
page straight from a string containing the complete HTML document (without
writing to file and naving to it)
I have spent another half hour or so looking to see how else it can be done,
but the only way i can see is by building the page using the MSHTML
interfaces or navigating to it.
HTH
Sam
"malei" <ma...@bisp.com> wrote in message
news:e43Ljgr2BHA.2164@tkmsftngp02...
<!--mime body-->
......
<FONT size=2><IMG
src="cid:00e301c1db98$cc9eb6b0$2400a8c0@maleidotnet"></FONT>
......
<!--Attachment-->
------=_NextPart_000_00E4_01C1DBDB.DAC37D50
Content-Type: image/gif;
name="close_o.gif"
Content-Transfer-Encoding: base64
Content-ID: <00e301c1db98$cc9eb6b0$2400a8c0@maleidotnet>
R0lGODlhCwALAIAAAAAAAP///yH5BAAAAAAALAAAAAALAAsAAAIXhI8Wy6z5QJBnTkqvrhzb+D0b
pDUNBBUAOw==
------=_NextPart_000_00E4_01C1DBDB.DAC37D50--
......
How about using the CDO objects to manually construct the HTML page.
or
See if someone else has done it and supplied the source code
Just ideas mate, haven't ever done what you're trying to do. (would be
interested if you find a solution though)
Good luck
Sam
"malei" <ma...@bisp.com> wrote in message
news:#dwZb452BHA.2840@tkmsftngp05...
Last , Thank you very much for your help.
Truly.