Syatem.Diagnostics.Process.Start("winword.exe",fileName);
说找不到文件,但文件时在的。  在另外一台电脑上,调试时可以打开

解决方案 »

  1.   

    是你打错字了还是怎么地。。开头是System....如果没打错。。是不是没权限?
      

  2.   

    fileName路径输出试试,或者按楼上的,单步调试一下。
      

  3.   

    你的filename路径一定得注意写正确了,而且在C#中,相对路径和绝对路径是不一样的
      

  4.   

    Diagnostics.Process.Start( "winword.exe ", "c:\\1.doc "); 
    file.exists(filename)
      

  5.   

    Syatem.Diagnostics.Process.Start(fileName+"\\winword.exe");
    你可以试下.
      

  6.   

    System.Diagnostics.Process.Start(fileName+"\\winword.exe");