Quantcast
Channel: NetOffice - MS Office in .NET
Viewing all articles
Browse latest Browse all 1741

New Post: Outlook application.Quit

$
0
0
Is it necessary to call application.Quit() before calling Dispose()? My user wants to be able to have outlook always open. The application I am creating will then open a new message and add some attachments. The message will be filled in by the user. Once the user either sends the message or closes it, I call Dispose on the message and the application objects. Calling close like in the examples will close out of the open instance of outlook, which the user does not want. As of right now I have just left out the call to close the application and it seems to be working fine. I just want to make sure I am not leaving myself open to memory issues or outlook locking up after extended use (an early version of the application caused this somehow).

Thanks for the help.

Viewing all articles
Browse latest Browse all 1741

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>