c#调用外部程序

命名空间是using System.Diagnostics;

程序源码为:
privater void StaartForm()
{
     Process MyProcess = new Process();
     MyProcess.StartInfo.FileName = "d:/aaa.exe";//外部程序路径
     MyProcess.StartInfo.Verb = "Open";
     MyProcess.StartInfo.CreateNoWindow = true;
     MyProcess.Start();
}

posted @ 2010-09-18 10:44  Yao,Mane  阅读(285)  评论(0编辑  收藏  举报