Click here to Skip to main content
14,641,739 members
Rate this:
Please Sign up or sign in to vote.
See more:
How should I convert ppt slideshow to pptx programatically using c#.

I don't want to install office on server side for this action , I want to find a way without using Microsoft.Office.Interop.PowerPoint.

Any suggestions ?
Posted
Comments
PeiWHoward 14-Jul-17 5:02am
   
Here is another suggestion, this PowerPoint library for C#.
To achieve that conversion with it you simply need to use the following:

PresentationDocument presentation = PresentationDocument.Load("Input.ppt");
presentation.Save("Output.pptx");

Also you can refer to a following example as well which shows how to load / save PPTX in C# / VB.NET.
Rate this:
Please Sign up or sign in to vote.

Solution 2

You can use b2xtranslator for that, you can find it on sourceforge

http://b2xtranslator.sourceforge.net/[^]

Renaming the file mentioned above isn't the solution, a PPT file is a binary compound storage file and a PPTX is more like a ZIP file.
   
Comments
[no name] 11-Jun-14 9:40am
   
+5.
Rate this:
Please Sign up or sign in to vote.

Solution 1

I'm not sure it's still true with the latest version of power point, but we just used to rename the file. It's all based on the filename extension.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100