Thanks for the reply..
But all these links provide us with the service of uploading a pptx file to their server and they are doing the conversion for us. I want to do the conversion in my system itself (mainly due to security reasons and application stability.). I have got a sample application in C#. But it dont know its exact usage(basically I am not a C# guy.!!!!). The method demands three arguments(The third being something regarding to font). But I cannot exactly understand its usage. In the sample application I found only two args and the program is not working because of argument mismatch.
Below is the code. can you fix it without changing the font or layout of the actual pptx.
using System;
using System.Collections.Generic;
using System.Text;
using PowerPoint = Microsoft.Office.Interop.PowerPoint;
using Microsoft.Office.Core;
namespace ConsoleApplication5
{
class Program
{
static void Main(string[] args)
{
PowerPoint.Application app = new PowerPoint.Application();
string sourcePptx = @"c:\test.pptx";
string targetPpt = @"c:\test.ppt";
object missing = Type.Missing;
PowerPoint.Presentation pptx = app.Presentations.Open(sourcePptx,
MsoTriState.msoTrue, MsoTriState.msoTrue, MsoTriState.msoTrue);
pptx.SaveAs(targetPpt, PowerPoint.PpSaveAsFileType.ppSaveAsPowerPoint4);
app.Quit();
}
}
}
Thanks in advance..
Expecting your reply
con