PC Review


Reply
Thread Tools Rate Thread

Re: out to check whether outlook configured or not

 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      16th Sep 2009
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\FirstRunDialog (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
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Whether C# has bug about DST, if so, whether MS has provided fixabout it, and how? ken Microsoft C# .NET 1 17th Oct 2011 12:20 AM
Detect whether there is an account configured in Outlook ward376 Microsoft Excel Programming 3 20th Dec 2009 12:07 AM
How to check whether user put a check in a toolbox CheckBox contro JB Microsoft ASP .NET 1 27th Aug 2009 12:18 AM
How to detect whether Outlook is configured on machine using Regis makarand devalekar Microsoft Outlook VBA Programming 3 19th Jan 2009 08:39 PM
outlook configured with yahoo cannot send out mail, but recieves m =?Utf-8?B?UGxlYXNlIGhlbHAgbWUgcGVvcGxl?= Microsoft Outlook Installation 1 16th Feb 2005 02:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:58 PM.