CmdAsUser.exe can be downloaded from following web page,
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();
Related Posts
Related posts:
powerpoint to flash convertor 3.0 help
allow a user to upload a ppt file to my server and then extract the images
Call PowerPoint to SWF Converter from PHP code
PowerPoint to flash does crash on Windows 2003
How to register VeryPDF command line software?
How to convert PPT to flash SWF file?
How to batch convert PowerPoint to SWF?
How to retain animation effect when converting PPT to SWF