locked
Html File to Mht RRS feed

  • Question

  • Hi all,

     

    How to convert a HTML to MHT using c#. If anybody have any idea regarding this please let me know the process.

     

    Thanks in advance.



    clau

    Tuesday, December 3, 2013 4:47 PM

Answers

  • Hi Clauhd,

      Welcome to MSDN Forum Support.

      You can read the article as follows:

      Convert HTML to MHTML using ASP.NET.Ever wanted to make a report out of an html document and have it sent to the client for offline use in Word or Excel? An RFC - compliant Multipart MIME Message (mhtml web archive) is one single file containing all related material such as linked documents and images serialized to their Base64 inline encoding representations. There is no native support for creating mhtml archives in .NET but thanks to the Windows CDO library this is easy accomplished. This article introduce the CDO library to implement it.

      Sincerely,

      Jason Wang


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Clauhd Wednesday, December 4, 2013 9:22 AM
    Wednesday, December 4, 2013 6:04 AM