c#中运行外部应用程序的方法


using System.Diagnostics

.
.
.
private void buttonItem3_Click(object sender, System.EventArgs e)
  {
   Process mPro=new Process();
   string path=System.Environment.GetFolderPath(Environment.SpecialFolder.System);
   mPro.StartInfo.FileName=path+"\\calc.exe";
   mPro.Start();
  }
posted @ 2005-04-18 22:50  CrystalPipe  阅读(563)  评论(0)    收藏  举报