A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

out to check whether outlook configured or not



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 16th 09, 06:33 AM posted to microsoft.public.outlook.program_addins
hemaneelagiri via OfficeKB.com
external usenet poster
 
Posts: 22
Default out to check whether outlook configured or not

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  
Old September 16th 09, 03:11 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default out to check whether outlook configured or not

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
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 09:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.