Convert PowerPoint PPT file to Flash file via CmdAsUser.exe

CmdAsUser.exe can be downloaded from following web page,
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"
proc.StartInfo.Arguments = strArguments;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = true;
proc.StartInfo.ErrorDialog = false;
proc.StartInfo.RedirectStandardOutput = true;
proc.StartInfo.RedirectStandardError = true;
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

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!