Hi All,
I am setting up an Access db which will be used by different customers. In the event that they find an error in my VB code, I would like this error to be trapped and the details emailed to me. Is this easily done or am I just nuts. I would rather not have to rely on the customer taking a screen shot of the error and pasting that into an email and then sending that off to me manually.
What I would like to happen is as follows. When the user hits an error, on clicking the end button, a piece of code gets activated after which the details of the error are inserted into the body of an email. I would need to capture the error number, message, form that trapped the error and any other useful details that can be captured. The support@xyz.com would get inserted into the To field of the email.
I guess this would need to be a global function which would get called at the end of every on error event. I guess I would also need to build it into every routine and procedure that I have written in VB.
If could let me have some ideas that would be great.
Thanks,
Evan
I am setting up an Access db which will be used by different customers. In the event that they find an error in my VB code, I would like this error to be trapped and the details emailed to me. Is this easily done or am I just nuts. I would rather not have to rely on the customer taking a screen shot of the error and pasting that into an email and then sending that off to me manually.
What I would like to happen is as follows. When the user hits an error, on clicking the end button, a piece of code gets activated after which the details of the error are inserted into the body of an email. I would need to capture the error number, message, form that trapped the error and any other useful details that can be captured. The support@xyz.com would get inserted into the To field of the email.
I guess this would need to be a global function which would get called at the end of every on error event. I guess I would also need to build it into every routine and procedure that I have written in VB.
If could let me have some ideas that would be great.
Thanks,
Evan