SGUDAPAT
asked on
how to create a log file in vb.net
I want to create a log file, how can I do this
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If mylog.FileExists("C:\mylog .log") = False Then
Set createlog = mylog.CreateTextFile("C:\m ylog.log", False)
Else
Set createlog = mylog.OpenTextFile("C:\myl og.log", ForAppending, False, TristateUseDefault)
End If
End Sub
Set createlog = mylog.CreateTextFile("C:\m
Else
Set createlog = mylog.OpenTextFile("C:\myl
End If
End Sub
ASKER