Results 1 to 6 of 6

Thread: Error Trapping Like Netscape

  1. #1

    Thread Starter
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    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,

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    Examine the "ON ERROR GO TO" syntax. To get the error number (and description), examine the contents of err.number (and err.description).

  3. #3

    Thread Starter
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    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

  4. #4
    Guest
    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

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  6. #6
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    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
  •  



Click Here to Expand Forum to Full Width