|
-
Aug 23rd, 2000, 08:45 AM
#1
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,
-
Aug 23rd, 2000, 11:16 AM
#2
Frenzied Member
Examine the "ON ERROR GO TO" syntax. To get the error number (and description), examine the contents of err.number (and err.description).
-
Aug 23rd, 2000, 11:40 AM
#3
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
-
Aug 23rd, 2000, 02:12 PM
#4
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
-
Aug 23rd, 2000, 02:14 PM
#5
Monday Morning Lunatic
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.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 24th, 2000, 12:47 PM
#6
Frenzied Member
You may be able to get what you want/need from DevPartner Studio by Numega.
Head out to :
http://www.numega.com/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|