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

how to detect if installed-outlook is configured ?



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old December 20th 06, 06:08 AM posted to microsoft.public.outlook.program_addins
kedar
external usenet poster
 
Posts: 3
Default how to detect if installed-outlook is configured ?

Actually i'm trying to avoid sending email process through outlook if
"outlook is installed but not CONFIGURED" !!
so exiting from the process if if found defaultProfile as nothing.

I was having OL2k3 with 2 accounts confed.
then i just removd office 2k3 and installed office 2k
now actually OL is not configured but still the Defaultvalue registry is set
to "Microsoft Outlook Internet Settings".
i havent deleted a/cs while uninstalling 2k3.
In this situation how can i detect whether OL is configured or not?

code
If
(Microsoft.Win32.Registry.CurrentUser.OpenSubKey(" Software\microsoft\windows
NT\CurrentVersion\Windows Messaging
Subsystem\Profiles").GetValue("DefaultProfile") = "") Or
(Microsoft.Win32.Registry.CurrentUser.OpenSubKey(" Software\Microsoft\windows
NT\CurrentVersion\Windows Messaging
Subsystem\Profiles").GetValue("DefaultProfile") = "Microsoft Outlook Internet
Settings") Then
MsgBox("Either there is no default mail client or the
current mail client cannot fulfill the messanging request.",
MsgBoxStyle.OKOnly + MsgBoxStyle.Information, "Email As Attachement")
Exit Sub
End If
/code

Please guide me through this process/ reply if i am correct.
What else i should check ?
Thank you,
-Kedar
 




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
how to detect outlook is configured or not? kedar Outlook - Installation 0 December 20th 06 06:08 AM
cannot open outlook. profile not configured momkoz Outlook - General Queries 7 November 9th 06 09:58 PM
AUTO CONFIGURED OUTLOOK PROFILE BROKEN Dan Outlook - Installation 0 August 23rd 06 05:56 PM
OPERATING SYSTEM IS NOT CONFIGURED TO OPERATE OUTLOOK ? Nick Outlook - Installation 1 April 11th 06 02:38 PM
Outlook configured with Publisher RickM Outlook - Installation 0 March 27th 06 04:37 PM


All times are GMT +1. The time now is 08:55 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.