admin管理员组

文章数量:1290274

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?

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?

Share Improve this question edited Jun 25, 2013 at 8:39 Erik Schierboom 16.7k10 gold badges66 silver badges81 bronze badges asked Jun 3, 2010 at 9:06 CodeffectCodeffect 1392 gold badges3 silver badges11 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 5

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.

本文标签: javascriptActiveXObject in IE8Stack Overflow