This worked for me :
function WriteToFile() {
try {
var fso, s;
fso = new ActiveXObject("Scripting.F
s = fso.OpenTextFile("C:\\test
s.writeline("This is a test");
s.Close();
}
catch(err){
var strErr = 'Error:';
strErr += '\nNumber:' + err.number;
strErr += '\nDescription:' + err.description;
document.write(strErr);
}
}
But I think it will only work on Intranet.
Main Topics
Browse All Topics





by: ZeroPagePosted on 2003-12-30 at 01:28:15ID: 10015187
That page where the use is working offline is a html page stored on users disk, right?
Rename that page file extesnsion from .htm to .hta and it will work.
Good luck,
ZeroPage