开发者

ActiveXObject in IE8

开发者 https://www.devze.com 2023-01-02 07:19 出处:网络
I want to use javascript to create a textfile, so I used : This Line of code: var fso = new ActiveXObject(\"Scripting.FileSystemObject\");

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?


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..


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号