Reputation: 139
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?
Upvotes: 3
Views: 19450
Reputation: 230
Try this, this may help you. Close the IE. Right click on IE and Run as Administrator. Problem solved. I faced the same issue.
Upvotes: 0
Reputation: 922
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..
Upvotes: 5