积极答复者
是不是所有的windows都有IE,如果有,我下面的代码就不用try,catch了吧

问题
答案
-
要。IE存在并不代表启动不会出异常,比如可能出现你的计算机内存不足、IE或者IE插件的文件被病毒感染等等问题。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已建议为答案 Min ZhuModerator 2011年5月24日 1:47
- 已标记为答案 Min ZhuModerator 2011年5月27日 1:58
-
还是要加上try catch,可能在有些操作系统上会存在用户把IE卸载掉,而使用其他浏览器的情况
http://blog.csdn.net/zx13525079024- 已标记为答案 Min ZhuModerator 2011年5月27日 1:58
全部回复
-
要。IE存在并不代表启动不会出异常,比如可能出现你的计算机内存不足、IE或者IE插件的文件被病毒感染等等问题。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已建议为答案 Min ZhuModerator 2011年5月24日 1:47
- 已标记为答案 Min ZhuModerator 2011年5月27日 1:58
-
还是要加上try catch,可能在有些操作系统上会存在用户把IE卸载掉,而使用其他浏览器的情况
http://blog.csdn.net/zx13525079024- 已标记为答案 Min ZhuModerator 2011年5月27日 1:58