winform中如何用IE浏览器或记事本打开一个文件
已知文件的路径名,单击一个按钮时能用浏览器或记事本打开这个文件并显示出来。
请给出关键代码。
------解决方案--------------------using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;//System.Diagnostics 命名空间提供特定的类,使您能够与系统进程、事件日志和性能计数器进行交互。
namespace WindowsApplication22
{
   public partial class 调用帮助文件 : Form
   {
       //调用chm文件,如果它的目录太深,则看不了 *****************************
       public 调用帮助文件()
       {
           InitializeComponent();
       }
       private void 帮助ToolStripMenuItem_Click(object sender, EventArgs e)
       {
           ProcessStartInfo startInfo = new ProcessStartInfo("WindowsAPIdq.chm");//ProcessStartInfo 指定启动进程时使用的一组值。
           Process.Start(startInfo);//Process 提供对本地和远程进程的访问并使您能够启动和停止本地系统进程。
                                    //Start方法 启动由包含进程启动信息(例如,要启动的进程的文件名)的参数指定的进程资源,并将该资源与新的 Process 组件关联
       }
       private void 帮助ToolStripMenuItem1_Click(object sender, EventArgs e)
       {
           Help.ShowHelp(this, "API32.CHM");//显示帮助文件的内容。        
       }
       private void 帮助ToolStripMenuItem2_Click(object sender, EventArgs e)
       {
           Help.ShowHelpIndex(this, "WindowsAPIdq.chm");//显示指定帮助文件的索引。
       }
       private void 调用帮助文件_Load(object sender, EventArgs e)
       {
           InputLanguageCollection ilc = InputLanguage.InstalledInputLanguages;
           foreach (InputLanguage il in ilc)
           {
               comboBox1.Items.Add(il.LayoutName);
           }
           comboBox1.SelectedIndex = InputLanguage.InstalledInputLanguages.IndexOf(InputLanguage.CurrentInputLanguage);  
       }
       private void 系统记事本ToolStripMenuItem_Click(object sender, EventArgs e)
       {
           //Process.Start("notepad.exe", "");//第二个参数为记事本的路径
           Process.Start("notepad.exe", "c#.net常用函数列表.txt");
       }
       private void 纸牌游戏ToolStripMenuItem_Click(object sender, EventArgs e)
       {
           Process.Start("sol.exe", "");
       }
       private void 网页ToolStripMenuItem_Click(object sender, EventArgs e)
       {
           //ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe");
           //startInfo.WindowStyle = ProcessWindowStyle.Maximized;
           //startInfo.Arguments = "http://localhost/";    //网站地址
           //Process.Start(startInfo);
           Process.Start("IExplore.exe", Application.StartupPath + "/小说原创门户-起点中文网.htm");//打开本地网页
       }
   }
}
------解决方案--------------------Process.Start("notepad.exe", @"c:\a.txt");
Process.Start("IExplore.exe", @"c:\a.txt");