Create an HTML file in a temporary folder, copy the HTML string there, set
the MAPIFolder.WebViewURL and WebViewOn properties appropriately (where
MAPIFolder is Explorer.CurrentFolder). Outlook will display the HTML instead
of the message list. Whenever that HTML window needs to be closed
(Explorer.FolderSwitch event?), reset the WebViewURL and WebViewOn
properties and delete the temporary HTML file.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Water Cooler v2" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> OK. Let me start all over again. From a user's stand-point, this is
> what needs to be achieved.
>
> "When the user clicks one of the buttons on the toolbar of Outlook, he
> must be shown a web page open up inside of Outlook itself."
>
>
>>From a programmer's stand-point, this is what needs to be done:
>
> (1) I get a string that contains some HTML code.
> (2) I need to display properly formatted HTML inside of Outlook itself.
> (3) The HTML must be properly formatted so that the user gets to see
> not the HTML code but the formatted content.
> (4) The window in which this HTML is displayed must be maximized and it
> must be within Outlook itself.
>
>
> Thanks.
>