-
Does anyone know how to setup an error trapping scheme like netscape's?
If you use netscape and it crashes, a form comes up and asks you to send an email for quality purposes. Basically what I am looking for is when an error occurs that was not trapped, I want to be sent an email with a description of the error. Is there a way to detect what error has occured when my system crashes?
Thanks in advance,
-
Examine the "ON ERROR GO TO" syntax. To get the error number (and description), examine the contents of err.number (and err.description).
-
Yeah, I understand that, but when the system crashes without an error message and you get the illegal operation error, I want to be able to know when that happens and launch a new form or EXE to submit an Email to me.
Thanks
-
I don't think there is a way. This is probably the closest your going to get:
Code:
'Private Sub ....()
On Error Goto ErrorTrap
'code
Exit Sub
ErrorTrap:
Open App.path & "\error.log" For Append As #1
Print #1, "Error " & Err.Number & ": " & Error$
Close #1
'End Sub
-
I think Netscape uses a program called TalkBack or FullCircle or something like that. Basically, it wraps your program and waits for it to crash.
-
You may be able to get what you want/need from DevPartner Studio by Numega.
Head out to :
http://www.numega.com/