G
Guest
I created a program that opens Outlook and looks for messages in a certain
folder, then closes. I have tried this code to close the application:
outLookApp.Session.Logoff();
outLookApp.Quit();
But the OUTLOOK.EXE task is left running. If I re-run the program, a new
OUTLOOK.EXE task is started. How do I properly close down Outlook and get the
task ended? Any help would be appreciated. Thanks.
folder, then closes. I have tried this code to close the application:
outLookApp.Session.Logoff();
outLookApp.Quit();
But the OUTLOOK.EXE task is left running. If I re-run the program, a new
OUTLOOK.EXE task is started. How do I properly close down Outlook and get the
task ended? Any help would be appreciated. Thanks.