Check Outlook is installed on client

  • Thread starter Thread starter Ben
  • Start date Start date
B

Ben

Hi all

I'm making a program in C# which use contact items in Outlook.
And i would like to known how to check if Outlook is install on the pc and
if it exist load the Outlook library ?

Thanks for help !

Ben
 
You could set an Outlook Application object and if it works Outlook is
installed. You can also look for Outlook.exe in the file system or read the
registry to see where Outlook is installed if at all.
HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE is the
location where the Outlook.exe path is listed if it's installed.
 
Back
Top