Ask a Question related to ASP, Design and Development.
-
Tapanan Yeophantong #1
Appending Text to File - Please Help!!!
What''s wrong with this code? The IIS seems to be taking an infinite amount of time to respond (and it never did). Please Help!
Set objFSO = Server.CreateObject ("Scripting.FileSystemObject")
strPath = "C:\AuditIS\System.log"
If (objFSO.FileExists (strPath)) Then
Set objOpenFile = objFSO.OpenTextFile (strPath, 8)
Else
Set objOpenFile = objFSO.CreateTextFile (strPath)
objOpenFile.WriteLine ("User / Type of Access / Source / Source ID / Time of Access")
End If
objOpenFile.WriteLine Session("Username") & " / " & "Created" & " / " & "Project" & " / " & strPrjId & " / " & Date & " " & Time
objOpenFile.Close
Set objOpenFile = Nothing
Set objFSO = Nothing
-----------------------------
This message is posted by [url]http://Asp.ForumsZone.com[/url]
Tapanan Yeophantong Guest
-
Multiple Handle on same file for appending
Hi, Is it possible to open multiple textstream on a same file for appending lines ? I would like to manage a logfile for my application that... -
Appending text file
Hello everyone, I need to append the begining of an .asp file using the File System Object. I can write the entire file line-by-line and save it,... -
appending an XML file from CFMX 6.1
can someone tell me the easiest way to write information to the end of an existing XML file using CFMX 6.1? I have an XML file which specifies... -
text field including text from a text file *.txt
Hi, I would like to insert a text field which includes text from a text file. I know it must be possible but unfortunately I cannot find any help... -
Appending at various locations.
I have to ask the user to input any two digits e.g input= 3,5 (their value can be upto 300-whole numbers only). These two numbers have to be... -
Ray at #2
Re: Appending Text to File - Please Help!!!
[url]http://www.aspfaq.com/2180[/url]
Ray at home
"Tapanan Yeophantong" <tapanan@hotmail.com> wrote:did).> IIS seems to be taking an infinite amount of time to respond (and it never> Set objFSO = Server.CreateObject ("Scripting.FileSystemObject")
Ray at Guest



Reply With Quote

