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 » Outlook - Installation
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , ,

how to detect outlook is configured or not?





 
 
Thread Tools Display Modes
  #1  
Old December 20th 06, 05:08 AM posted to microsoft.public.outlook.installation
kedar
external usenet poster
 
Posts: 3
Default how to detect outlook is configured or not?

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
Ads
 




Thread Tools
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
cannot open outlook. profile not configured momkoz Outlook - General Queries 7 November 9th 06 08:58 PM
AUTO CONFIGURED OUTLOOK PROFILE BROKEN Dan Outlook - Installation 0 August 23rd 06 04:56 PM
RPC-HTTP can't be configured in Outlook 2007 frodo@shire.com Outlook - Installation 2 May 25th 06 03:15 PM
OPERATING SYSTEM IS NOT CONFIGURED TO OPERATE OUTLOOK ? Nick Outlook - Installation 1 April 11th 06 01:38 PM
Outlook configured with Publisher RickM Outlook - Installation 0 March 27th 06 03:37 PM


All times are GMT +1. The time now is 02:56 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Long Island Families - Car Insurance - Ringtone - Buy Anything On eBay - Business Credit Card