stickleprojects Level: Moderator

 Registered: 09-09-2002 Posts: 923
|
Re: Need Help On Desire to Implement Proactive Support
Hi Matt,
In short... reduce the size of your procs!!! Also, download MZ-tools as this is a really cool product for adding error-handlers, line numbers, etc.
I really don't recommend adding line numbers to your entire app as maintenance becomes a real pain.
My error handler appends the name of the current routine into the source, and raises the error back to the calling routine and finally shows it in a tree on the gui, I also log a bunch of important stuff and dump this out if an issue occurs - much more helpful: "error 5 occured in line 10 - index out of range" becomes "Dear User, I'm sorry but an error occured:
Error 5, index out of range
in
frmAccountsEdit
cmdSaveInvoice_Click
dbfuncs.OpenDB
dbfuncs.ReadIniSettings
Please click the button to mail support information to our helpdesk."
you get the idea,
Kieron
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)
|