asp.net如何将office转换为swf格式,哪位高手指点一下,最好有例子

解决方案 »

  1.   

    我用VC写的服务程序来转换,使用了FlashPaper2
      

  2.   

    用VC写的服务程序来转换,使用了FlashPaper2 
     
      

  3.   


    public void ConvertToSWF(string oldFile, string swfFile)
            {
                System.Diagnostics.Process pc = new System.Diagnostics.Process();
                // pc.StartInfo.FileName = "cmd";
                pc.StartInfo.FileName = @"F:\Two\Demo\Demo\FlashPaper\FlashPrinter.exe";
                pc.StartInfo.Arguments = string.Format("{0} -o {1}", oldFile, swfFile);
                pc.StartInfo.CreateNoWindow = true;
                pc.StartInfo.UseShellExecute = false;
                pc.StartInfo.RedirectStandardInput = true;
                pc.StartInfo.RedirectStandardOutput = true;
                pc.StartInfo.RedirectStandardError = true;            pc.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
                pc.Start();
                pc.WaitForExit();
                pc.Close();
               // pc.Dispose();
            }
      

  4.   

    用转换工具吧,FlashPaper,网上很多这个例子。