i m using javascript for writing in a file,the code is correctly working with IE 6.0, i m getting the error like "Automation server can't create object" in IE 7.0 while using ActiveXObject("Scripting.FileSystemObject");
can any one please suggest a solution for this problem.
code that i m using is:-
Expand|Select|Wrap|Line Numbers
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- var s = fso.OpenTextFile("C:\\LogFile.txt",8,true,0);
- s.WriteLine("some string");