O
Olaf Rabbachin
Hi folks,
I have a (VB.Net-) DLL that I'm using from MS Access 2003.
Everything's pretty fine except for one thing - When I throw or pass on
exceptions from within the .Net-DLL, all I get is Err #440 ("Automation
Error").
I'm passing on exceptions like this:
Throw ex
.... and I'm throwing my own exceptions like this:
Throw New ExternalException("Oops", [some enum])
Is there something wrong with that, or why do I only get #440 in VBA ..?
Also, the GetLastError-API doesn't return anything either, that is, I'll
always get #0 (= everything alright).
Cheers,
Olaf
I have a (VB.Net-) DLL that I'm using from MS Access 2003.
Everything's pretty fine except for one thing - When I throw or pass on
exceptions from within the .Net-DLL, all I get is Err #440 ("Automation
Error").
I'm passing on exceptions like this:
Throw ex
.... and I'm throwing my own exceptions like this:
Throw New ExternalException("Oops", [some enum])
Is there something wrong with that, or why do I only get #440 in VBA ..?
Also, the GetLastError-API doesn't return anything either, that is, I'll
always get #0 (= everything alright).
Cheers,
Olaf