S
Sam Jost
Hi folks,
I'm running outlook via com, importing and changing lots of public data.
Sometimes I hit some boundary and get an exception a client task has failed.
Thats not the problem I want to ask about.
The problem is: after I got this exception I try to gracefully close outlook
using
outlookNamespace.Logoff();
outlookApp.Quit();
It does not close. Well, the main window does close, but outlook stays in
taskbar and task manager, and I can't get it to close other then to kill the
process. Outlook keeps saying it is busy with some task to exchange (probly
the failing one) and wont budge.
My question is: how do I (gracefully) get outlook to stop the failed client
task, close the connection and quit?
it does quit nicely whenever I don't get a client exception, but it must be
possible to somehow gracefully close outlook when I have hit an exception,
not?
thanks,
Sam
I'm running outlook via com, importing and changing lots of public data.
Sometimes I hit some boundary and get an exception a client task has failed.
Thats not the problem I want to ask about.
The problem is: after I got this exception I try to gracefully close outlook
using
outlookNamespace.Logoff();
outlookApp.Quit();
It does not close. Well, the main window does close, but outlook stays in
taskbar and task manager, and I can't get it to close other then to kill the
process. Outlook keeps saying it is busy with some task to exchange (probly
the failing one) and wont budge.
My question is: how do I (gracefully) get outlook to stop the failed client
task, close the connection and quit?
it does quit nicely whenever I don't get a client exception, but it must be
possible to somehow gracefully close outlook when I have hit an exception,
not?
thanks,
Sam