
Originally Posted by
nokmaster
@oceanebelle
do u have an example for that?
Thanks...

Sorry missed your messages on yahoo.
I'm only online for like 7-8 hours a day.. and that is IF I'm not busy so.
but here's a sample code. Now you've got to work out the details if you want to use this though. 
VB Code:
Sub LogMessage(ByVal psMsg As String)
Dim lngFileNum As Long
lngFileNum = FreeFile()
If LogFile = "" Then
Open App.Path & "\" & App.EXEName & ".log" For Append As #lngFileNum
Else
Open LogFile For Append As #lngFileNum
End If
Print #lngFileNum, Format$(Date$, "YYYY/MM/DD"), Format$(Time$, "HH:MM:SS"), psMsg & vbNullChar
Close #lngFileNum
End Sub
LogFile is either created on the current directory or in the directory specified by the user....