global error handling / logging -
05-29-2009
, 10:53 AM
I have a vb6 exe that uses a .net dll using interop. Right now, if an
error occurs in the .net code, the users get an error they don't
understand and I don't have any record of it. I would like to show a
friently error message and log the error information to a database.
Is there a way to create a global error handler, either in the .net
dll or vb6 exe? I'm trying to avoid putting a try catch statement in
every procedure.
Joel |