摘要: 在win32中有ShellExecute方法可以使我们启动外部的应用程序,在 .NET FrameWork 中我们可以使用Process类来完成类似的功能。Process在System.Diagnostics中,所以别忘了: using System.Diagnostics;1) 用Process的静态方法Start//启动记事本Process.Start("notepad.exe");//启动记事本,并打开temp.txt文件 Process.Start("notepad.exe",@"d:\temp.txt"); 此方法最简单,但 阅读全文
posted @ 2011-04-27 21:35 孤獨龍 阅读(229) 评论(0) 推荐(0) 编辑