For C# code you'd need the Outlook PIA installed of course, which wouldn't
be there if Outlook isn't installed and loading a class that referenced the
Outlook object model would fire an exception at once when the class was
referenced if Outlook isn't installed.
For Outlook 2003 you can check for
HKCU\Software\Microsoft\Office\11.0\Outlook\FirstR unDialog (REG_SZ) and see
if it's False. You can also check for HKCU\Software\Microsoft\Windows
NT\CurrentVersion\Windows Messaging Subsystem\Profiles and see if any
sub-keys are established for Outlook profiles.
HKCR\Outlook.Application\CurVer will tell you the version installed,
"Outlook.Application.11" for Outlook 2003, "Outlook.Application.12" for
Outlook 2007, etc. If HKCR\Outlook.Application doesn't exist Outlook isn't
installed.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"hemaneelagiri via OfficeKB.com" u54138@uwe wrote in message
news:9c30960266249@uwe...
hi
I need to perform following two checks before sending mail through outlook
1. whether Outlook is installed on a machine
2. If installed whether it is configured or not for current user
i am trying in c# and outlook is 2003
--
Message posted via http://www.officekb.com