请问,在C#中用代码怎样实现将doc文件转换成swf文件,谢谢详细讲解!
解决方案 »
- 谁能优化一下下面的代码
- C# Win7/Vista C盘下某些目录访问权限问题
- 如何动态切换tabpage?
- LDAP数据包转发
- 近期要做一个C# winfrom 程序,要求是将word 嵌入窗体内,有什么好的方法??甚急!!!!!!!!!!!!!
- dataGridView的DataGridViewComboBoxColumn怎样赋值啊?
- C#+SQL Server: 大家如何为RDLC报表获取数据?用存储过程是最好的方法么?
- string cc=temp.Remove(c-bb.Length-1,bb.Length+1);????????就是后面的这句不明白是什么请给说说???
- 关于Remoting的远程对象的获取
- ********专家请指点,小弟把分散******
- C#中的关于++1和i++的一个小测试
- 铁心只做winform不做webform,目前只会托控件和sql,怎么提升编程能力?
p.StartInfo.FileName = "C:\\WINDOWS\\system32\\cmd.exe";
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardInput = true;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.RedirectStandardError = true;
p.StartInfo.CreateNoWindow = true;
try
{
p.Start();
string strOutput = null;
p.StandardInput.WriteLine("C:\\FlashPaper\\FlashPrinter.exe C:\\a.doc -o C:\\a.swf");
p.StandardInput.WriteLine("exit");
strOutput = p.StandardOutput.ReadToEnd();
Console.WriteLine(strOutput);
p.WaitForExit();
p.Close();
}
catch (Exception ex)
{
throw ex;
}