Hi!
I have a stand alone program in which I need to retrieve the computer's file name to use to create a text file. The code I currently have is:
function WriteToFile(){
var TristateFalse = 0;
var ForAppending = 8;
var fso = new ActiveXObject("Scripting.FileSystemObject");
var newFile = fs
penTextFile("c:\\SafetyFile.txt", ForAppending, true, TristateFalse);
newFile.WriteLine(document.forms.ReportPage.name.value);
newFile.WriteLine(document.forms.ReportPage.number.value);...
Can anyone help me? Thanks in advance!!
sam
I have a stand alone program in which I need to retrieve the computer's file name to use to create a text file. The code I currently have is:
function WriteToFile(){
var TristateFalse = 0;
var ForAppending = 8;
var fso = new ActiveXObject("Scripting.FileSystemObject");
var newFile = fs
newFile.WriteLine(document.forms.ReportPage.name.value);
newFile.WriteLine(document.forms.ReportPage.number.value);...
Can anyone help me? Thanks in advance!!
sam