Thread: Settings?
View Single Post
Old Sep 13th, 2005, 2:24 PM   #7
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Here's a logging method I wrote in VB .Net a while back, maybe it will help:

    Public Function LOG(ByRef info As String) As Object
        On Error Resume Next
        If Err.Number = 0 Then
            FileOpen(1, LOGFILE, OpenMode.Append)
            PrintLine(1, TimeOfDay & "-> " & info)
            FileClose(1)
        End If
    End Function
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote