Hi Darren ,
Thanks for your post.
The easiest way to do would be to save the mhtml content to a temp file and
then call the Navigate method of the webbrowser control and point to the
appropriate temp file.
Also you could stream the content directly into MSHTML, but it will not
render properly unless you get the IPersistStream interface and pass an
instance of an implementation of IStream (not the .NET version, but the COM
version). This would be hard to implement though, but it should be
possible.
So, I strongly recommend you the first way. Hope this helps!
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
|