Convert PowerPoint PPT file to Flash file via CmdAsUser.exe

CmdAsUser.exe can be downloaded from following web page,

http://www.verydoc.com/exeshell.html

http://www.verydoc.com/download/cmdasuser.zip
Process proc = new Process();
proc.StartInfo.FileName = "C:\test\CmdAsUser.exe";
string strArguments = "Administrator . /p YourPassword /c C:\test\pptconv.exe C:\test\test.ppt C:\test\out.swf"
Console.WriteLine(strArguments);
proc.StartInfo.Arguments = strArguments;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = true;
proc.StartInfo.ErrorDialog = false;
proc.StartInfo.RedirectStandardOutput = true;
proc.StartInfo.RedirectStandardError = true;
proc.Start();
proc.WaitForExit();
string output = proc.StandardOutput.ReadToEnd();
string error = proc.StandardError.ReadToEnd();
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!