ActiveXObject in IE8

别说谁变了你拦得住时间么 提交于 2019-12-18 05:14:14

问题


I want to use javascript to create a textfile, so I used :

This Line of code:

var fso = new ActiveXObject("Scripting.FileSystemObject");

It's working properly in IE6 but not in IE8.

Any suggested solution?


回答1:


IE8 internet setting is more secure, to it doesn't allow activex objects. If you have to run this, goto Tools->Internet Options-> Security->Custom Level->choose enable or prompt activex..




回答2:


Try this, this may help you. Close the IE. Right click on IE and Run as Administrator. Problem solved. I faced the same issue.



来源:https://stackoverflow.com/questions/2964531/activexobject-in-ie8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!