I have an error thats in another post.. but trying to get a band aide for now..
can you run this code..
and when it gets an excpetion.. just make it trace it.. and not show the exception popup window that
they need to click ??
can you run this code..
Code:
DebugText = Now.Date.Date & " " & Left(Now.TimeOfDay.ToString, 8) & vbTab & TracePrefix & TraceText & vbCrLf
If My.Settings.DebugOn = True Then
Try
Trace.WriteLine(DebugText)
Trace.Flush()
'My.Computer.FileSystem.WriteAllText(gLogFileName, DebugText, True)
Catch ex As Exception
My.Computer.FileSystem.WriteAllText(My.Settings.DebugFilePath & "\" & My.Application.Info.AssemblyName & "_Exception.txt", ex.Message, True)
WriteErrorCount = WriteErrorCount + 1
End Try
End If
they need to click ??