System.Diagnostics.Process.Start("sn.exe","-k aa.snk");
//说明 前一个选项是命令,后一个选项是参数,在参数中就可以使用文件名了,也就是你的saveFileDialog1.FileName

解决方案 »

  1.   

    http://community.csdn.net/Expert/topic/3063/3063626.xml?temp=.7816126
      

  2.   

    是的hxhbluestar,可是需要先进入cdm呀,请说说winform下调用console控制台的应用。
      

  3.   

    System.Diagnostics.Process.Start就是启动一个进程
    如果你的程序是控制台的话,自动打开控制台
    如果是WinForm程序,就打开WinForm程序
      

  4.   

    用netstat命令取得网络连接:
    Process proc = new Process();
    ProcessStartInfo info = new ProcessStartInfo();
    info.CreateNoWindow=true;info.RedirectStandardOutput=true;
    info.UseShellExecute=false;
    info.FileName="netstat";
    info.Arguments=" -n";
    proc.StartInfo=info;proc.Start();
    StreamReader reader = proc.StandardOutput;
    string content = reader.ReadToEnd();
    reader.Close();
      

  5.   

    具体说吧,winform下调用cmd并运行sn.exe 123.sn后返回。
      

  6.   

    Process proc = new Process();
    ProcessStartInfo info = new ProcessStartInfo();
    info.CreateNoWindow=true;info.RedirectStandardOutput=true;
    info.UseShellExecute=false;
    info.FileName="sn.exe";
    info.Arguments=" 1233.snk";
    proc.StartInfo=info;proc.Start();
    StreamReader reader = proc.StandardOutput;
    string content = reader.ReadToEnd();
    reader.Close();
      

  7.   

    简易编译器http://vip.6to23.com/3some/program/asm16.rar