ActiveXObject in IE8
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.
精彩评论