I should mention that should be jscript also. I do not believe javascript can use the activeX but just never tried it out
here's a snip from this converse to check user logins
reference:
<html>
<head>
<SCRIPT LANGUAGE="Jscript">
<!--
function checkuserpass(){
var user = '\n'+document.pwd.usernamez.value+'='+document.pwd.passwordz.value+'.';
var text;
var file;
var filestring = "";
var TristateFalse = 0;
var ForReading = 1;
myActiveXObject = new ActiveXObject("Scripting.FileSystemObject"

;
file = myActiveXObject.GetFile("c:\\testDB.txt"

;
text = file.OpenAsTextStream(ForReading, TristateFalse);
filestring = text.ReadAll();
text.Close();
if(filestring.indexOf(user)>-1){
alert(user+'\nFound in database');
}else{
alert(user+'\nNot in database');
}
}
// -->
</SCRIPT>
</head>
<body>
<form name=pwd onsubmit="checkuserpass()">
username <input type=text size=10 name=usernamez value="">
password <input type=password size=10 name=passwordz value="">
<input type=submit></form>
</body>
</html>
_________________________________________________________
for the best results to your questions: FAQ333-2924
01001111 01101110 01110000 01101110 01110100
[/sub]