We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Does HTMLUI supports MHTML files? How do I load them in the HTMLUI control?

 

Yes. HTMLUI supports MHTML documents from the version 4.1.

MHTML enables the user to send and receive Web pages and other HTML documents using e-mail programs. MHTML enables the user to embed images directly into the body of the e-mail messages rather than attaching them to the message.

MHTML uses MIME which provide facilities to allow multiple objects in a single Internet Email message, to represent the formatted multi-font text messages, to represent the non-textual material such as images, etc.

HTMLUI supports the usage of MHTML files by supporting MIME. The HTMLUI control allows the user to load the MHTML files from the user's drive with the help of the LoadHTML() method.

C#

//HTMLUI supports loading MHTML from file. Other overloads are not supported.

this.htmluiControl.LoadHTML(@"C:\MyProjects\LoadMHT\mhtFile.mht");

VB

'HTMLUI supports loading MHTML from file. Other overloads are not supported.

Me.htmluiControl.LoadHTML("C:\MyProjects\LoadMHT\mhtFile.mht")

Article ID: Published Date: Last Revised Date: Platform: Control:
818 04/30/2011 07/10/2014 Windows Forms HTMLUIControl
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.