解决方案 »
- base64编码的图片解码求教!
- 页面跳转时出现的问题
- js问题
- 大侠们帮我看下,错了啊 Cannot assign to 'ds' because it is a 'using variable'
- 根據當前日期如何求得當前日期兩周之內的起迄日期
- 如何能在执行大批量数据库插入操作的时候,忽略某行错误继续插入后面内容?
- 大家请看这个动态添加按钮的例子,为什么我改不了它的left和top
- 发布asp.net ajax-enabled web site 时错误。
- 如何读取Table控件中的数据并导入到excel中?
- 在web页的DataGrid控件的temploate列中,加入DataGrid子控件,引用DataGrid子控件的属性与值!!!
- 执行处理程序“System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper”的子请求时
- 我问一个字段更新的问题。
FlashPaper2.2 用这个试试!
{
System.Diagnostics.Process pc = new System.Diagnostics.Process();
pc.StartInfo.FileName = @"E:\OAOffice\WEB\FlashPaper2.2\FlashPrinter.exe";//调用FlashPaper
pc.StartInfo.Arguments = string.Format("{0} -o {1}", oldFile, swfFile);
pc.StartInfo.CreateNoWindow = true;
pc.StartInfo.UseShellExecute = false;
pc.StartInfo.RedirectStandardInput = false;
pc.StartInfo.RedirectStandardOutput = false;
pc.StartInfo.RedirectStandardError = true;
pc.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
pc.Start();
pc.WaitForExit();
pc.Close();
pc.Dispose();
}