webBrowser1.DocumentText = "<html><body></body></html>";
执行到这句时:
 doc = webBrowser1.Document.DomDocument as IHTMLDocument2;
出现System.IO.FileNotFoundException异常,在本机调试时是正常的。可是一到其它机器就出现System.IO.FileNotFoundException。
在其它机器上安装VS2008的话又不会出现这个错误?请问各位高手是什么问题?