Hi Jim,
Thanks for posting in this group.
Based on my understanding, you want to determine if there is any outlook
running instance in system.
This can be done through Process.GetProcessesByName method.
GetProcessesByName is helpful for getting and manipulating all the
processes that are associated with the same executable file. For example,
you can pass an executable file name as the processName parameter, in order
to shut down all the running instances of that executable file.
Note: The process name is a friendly name for the process, such as Outlook,
that does not include the .exe extension or the path.
For more information, please refer to the link below:
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdiagnosticsprocessclassgetprocessestopi c2.asp
Have nice day!
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.