Codeffect
Codeffect

Reputation: 139

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?

Upvotes: 3

Views: 19450

Answers (2)

S14321K
S14321K

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

Deepak
Deepak

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

Related Questions