Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. How to convert PPT to mht format in Office 2010 / 2013 to use in Asp.net web application

How to convert PPT to mht format in Office 2010 / 2013 to use in Asp.net web application

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpasp-nettutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    ven753
    wrote on last edited by
    #1

    How to convert PPT to mht format in Office 2010 / 2013 to use in Asp.net web application. If anybody knows, please reply me. Thanks in advance.

    C P 2 Replies Last reply
    0
    • V ven753

      How to convert PPT to mht format in Office 2010 / 2013 to use in Asp.net web application. If anybody knows, please reply me. Thanks in advance.

      C Offline
      C Offline
      Chris Quinn
      wrote on last edited by
      #2

      Try this [^]

      ========================================================= I'm an optoholic - my glass is always half full of vodka. =========================================================

      V 1 Reply Last reply
      0
      • C Chris Quinn

        Try this [^]

        ========================================================= I'm an optoholic - my glass is always half full of vodka. =========================================================

        V Offline
        V Offline
        ven753
        wrote on last edited by
        #3

        I tried with Office 2010 & 2013 it gives following error Run time error '-2147188160 (80048240)': Presentation (unknown member): Invalid request. Saving as an HTML presentation is not supported in this version of Powerpoint. It works in Office 2007 - there directly i can save as MHT or HTML format. But my system installed office 2013 here it is giving error. I want try with 2010 or 2013. Please suggest.

        1 Reply Last reply
        0
        • V ven753

          How to convert PPT to mht format in Office 2010 / 2013 to use in Asp.net web application. If anybody knows, please reply me. Thanks in advance.

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          You can drive the save to MHT using automation. Basically, even though MHT isn't exposed via the save function in 2010 (not 2013 sadly) you can still get to it via VBA so you're going to have to do something like this:

          Public Sub ConvertToMHT(ByVal FileLocation As String)
          ActivePresentation.SaveAs FileLocation, ppSaveAsWebArchive
          End Sub

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups