How to call pptconv.exe from C#?

This article is about how to call VeryDOC PowerPoint Converter from c#, This way is also helpful for calling other VeryPDF software from c#.

Product: VeryDOC PowerPoint Converter v3.0 which can help you convert PowerPoint files to a number of different formats, such as TIF, TIFF, JPG, JPEG, GIF, PNG, BMP, etc. raster formats. It also allows you to convert PowerPoint files to Flash (SWF), PDF, PS (postscript), WMF, EMF, MHTML, HTML, RTF, etc. vector formats. If you would like to have a free trial, here is the link for you,http://www.verydoc.com/verydoc_pptconverter.exe. If you need to know more about it, please visit its official homepage.

C# source code:
        try
        {

            Process proc = new Process();
            proc.StartInfo.FileName = @"C:\Program Files\VeryDOC PowerPoint Converter v3.0\\pptconv.exe";
            string strArguments = "";
            strArguments += "\"C:\\examp.pptx\" \"C:\\examp.swf\"";
            Console.WriteLine(strArguments);
            proc.StartInfo.Arguments = @strArguments;
            proc.Start();

            Button1.Text = "Success";
            Label1.Text = strArguments;
            Label1.Visible = true;
            proc.WaitForExit();
        }
        catch (Exception ex)
        {
            Button1.Text = "Error";
            Label1.Visible = true;
            Label1.Text = ex.StackTrace;
        }

If you have any question about this software or file format conversion, you are welcome to contact us by the ways supported on this website.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in PowerPoint to Flash and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!