简单应用程序
如果加上"myProcess.WaitForExit();",程序出现异常"异常:System.NullReferenceException: 未将对象引用设置到对象的实例。at StartMSWordApp.Form1.button1_Click(Object sender, EventArgs e) in c:\documents and settings\administrator\桌面\windowsapplication2\form1.cs:line 154",但是程序仍然可以运行.
如果把"myProcess.WaitForExit();"去掉,这样的异常也就没有了.程序可正常运行.
想了半天,真的不知道是怎么会事,希望明白的可以告诉下.

<iframe name="alimamaifrm" frameborder="0" marginheight="0" marginwidth="0" border="0" scrolling="no" width="300" height="170" src="/go/app/tbk_app/chongzhi_300_170.php?pid=mm_28854300_2441872_11377541&page=chongzhi_300_170.php&size_w=300&size_h=170&stru_phone=1&stru_game=1&stru_travel=1" ></iframe>