请问,在C#中用代码怎样实现将doc文件转换成swf文件,谢谢详细讲解!

解决方案 »

  1.   

    DOC文档转FLASH???  世界顶尖的技术...............
      

  2.   

    应该在本机上装一个Flashpaper然后用代码调用吧,谢谢
      

  3.   

    Process p = new Process();
            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;
            }
      

  4.   

    最近在某些网站上看到过,不知道是不是DOC转SWF技术,不过,这技术,牛
      

  5.   

    我们公司一个同事正在做C#技术把.doc,.txt转成swf