Process[] processlist = System.Diagnostics.Process.GetProcessesByName("OUTLOOK");
if (processlist.Count() > 0)
{
MessageBox.Show("Outlook Opened");
}
Works great for the first time when I open outlook, but the message box continue to show even after outlook is closed .
I also checked the background process there is no outlook process running.
Help appreciated :) .
0 comments:
Post a Comment
Thanks