![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
Ads |
#2
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't get Outlook 2007 Configured | Ron | Outlook - General Queries | 5 | October 4th 07 05:09 PM |
how to detect if installed-outlook is configured ? | kedar | Add-ins for Outlook | 0 | December 20th 06 05:08 AM |
how to detect outlook is configured or not? | kedar | Outlook - Installation | 0 | December 20th 06 05:08 AM |
RPC-HTTP can't be configured in Outlook 2007 | [email protected] | Outlook - Installation | 2 | May 25th 06 03:15 PM |
Outlook configured with Publisher | RickM | Outlook - Installation | 0 | March 27th 06 03:37 PM |