I don't have my error handler code on the VM that I have open right now
so this is from memory.
I opened up a form with a red background and gave them a "Print",
"Continue", "Cont. w/ Revert" or "Quit Application" option.
It shows the Error Number, and the Error message.
There is a text area for them to "Please enter a description of the
conditions when this error occurred:". This message would show up on the
printed report if entered.
The user could then click the "expand" triangle, that exposes extra
fields if they so choose: Date and time of error, user, Line number,
Line of code, and program.
This expanded portion of the screen also has it's own "expand" triangle
that exposes a page panel where they can optionally perform a "Memory
Dump", a "System Information" dump this is a ton of the SYS() functions,
and a "Benchmark" function just in case the errors are caused by network
or machine slowdowns.
== My errhand.ini file would (optionally) post the values to a PHP page
on my website, that would record the event and then email me the
values. Most people have Internet access but not all have the same
email capabilities so (optionally) posting to the web is a great way to
get notified of errors that your users aren't telling you about.
== A friend of mine configured his error handle to take a screenshot
showing what the user was doing when the program encountered the error.
Good luck.
On 08/04/2014 11:40 AM, [email protected] wrote:
Moreover...I'm thinking that you of course pass the parms like any
usual ON ERROR DO ErrHand WITH ERROR(), MESSAGE(), PROGRAM(),
LINENO(), but if you don't pass the parms, the APP launches a
management kind of form that allows you to review the log of errors.
Kevin -- to address what Ferd said, do you return control to your app
or is it Game Over when they hit an error?
Thanks,
--Mike
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.