Have a small form which can write to a local file. I'd like to place the html form on a share drive and have the appendable txt file there also. Using client PC only; no web server.
I've adjusted the file path part of the script but it does not write to the file which is also in the same folder as the html file on the share drive. Will vbs write to files on the network or am I spinning my wheels?
I've also tried with the UNC path (abbreviated here) -- \\...fpc1\share\....
Ex:
Set fso=CreateObject("Scripting.FileSystemObject"
Set ts = fspenTextFile("S:\NIS_staffshare\FdBk\bcmaLog.txt", ForAppending, False)
ts.WriteLine(strNdate & "^^" & strLoc & "^^" & strComment & "^^" & strUsername & "^^" & strUserTel)
ts.Close
(Makes a delimited text file.)
Any pointers?
Thank you.
I've adjusted the file path part of the script but it does not write to the file which is also in the same folder as the html file on the share drive. Will vbs write to files on the network or am I spinning my wheels?
I've also tried with the UNC path (abbreviated here) -- \\...fpc1\share\....
Ex:
Set fso=CreateObject("Scripting.FileSystemObject"
Set ts = fspenTextFile("S:\NIS_staffshare\FdBk\bcmaLog.txt", ForAppending, False)
ts.WriteLine(strNdate & "^^" & strLoc & "^^" & strComment & "^^" & strUsername & "^^" & strUserTel)
ts.Close
(Makes a delimited text file.)
Any pointers?
Thank you.