Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Private Sub toErrorLog(ByVal contents As String)
- Try
- File.AppendAllText("C:\images\error.txt", contents)
- Catch ex As Exception
- toErrorLog(Now & " could not write to error log.")
- End Try
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement