I placed the following error handling in the procedure:
If Err.Number = 2501 Then
'Put the focus on the parent form in case sending of the e-mail was cancelled
When I close the email-message, without sending it, it generates an error.
The stupid thing is, when I run in debug mode it works fine.
When running the application as normal, it produce a form_error with error number 0.
Does anybody knows how to fix this? (rebooting the system won't work)
(Win2K prof. and Off2K Pro SR1)
Thx in advance!