ramli
03-10-2005, 07:04 PM
i use this code to open a filestream
<SCRIPT LANGUAGE="JavaScript">
<!--
var fso = new ActiveXObject("Scripting.FileSystemObject");
fileObj = fso.OpenAsTextStream("G:\\key.key");
document.write(fileObj);
-->
</SCRIPT>
however this returns the filepath G:\\key.key i want it to read the file
and display this. how do i do this ??
Thanx in advance
<SCRIPT LANGUAGE="JavaScript">
<!--
var fso = new ActiveXObject("Scripting.FileSystemObject");
fileObj = fso.OpenAsTextStream("G:\\key.key");
document.write(fileObj);
-->
</SCRIPT>
however this returns the filepath G:\\key.key i want it to read the file
and display this. how do i do this ??
Thanx in advance