PC Review


Reply
Thread Tools Rate Thread

Detect whether there is an account configured in Outlook

 
 
ward376
Guest
Posts: n/a
 
      18th Dec 2009
What is the test to see whether this line will open Outlook 2007 or
the Outlook 2007 Startup Wizard?

CreateObject("Outlook.Application")

Registry key 'HKEY_CURRENT_USER\Software\Microsoft\Windows NT
\CurrentVersion\Windows\Messaging Subsystem\Profiles' has entries, but
the current user does not have an account configured in Outlook.

One thing that may help is that prior to this line, network
connectivity is confirmed - can I "ping" Exchange or something like
that?

Thanks!
Cliff Edwards


 
Reply With Quote
 
 
 
 
ward376
Guest
Posts: n/a
 
      19th Dec 2009
I want to test whether an account is configured for the current user
before instantiating Outlook to prevent the Startup Wizard from
opening.

Is this possible, and how can I do it?
 
Reply With Quote
 
Chip Pearson
Guest
Posts: n/a
 
      19th Dec 2009
You might try seeing what shell is associated with the "mailto"
protocol. Look in the default value of the key:

HKCR\mailto\shell\open\command

and see if the string "Outlook" is present. This isn't an iron clad
way of doing it, but it might be "good enough" for your purposes.

Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]




On Fri, 18 Dec 2009 14:46:53 -0800 (PST), ward376
<(E-Mail Removed)> wrote:

>What is the test to see whether this line will open Outlook 2007 or
>the Outlook 2007 Startup Wizard?
>
>CreateObject("Outlook.Application")
>
>Registry key 'HKEY_CURRENT_USER\Software\Microsoft\Windows NT
>\CurrentVersion\Windows\Messaging Subsystem\Profiles' has entries, but
>the current user does not have an account configured in Outlook.
>
>One thing that may help is that prior to this line, network
>connectivity is confirmed - can I "ping" Exchange or something like
>that?
>
>Thanks!
>Cliff Edwards
>

 
Reply With Quote
 
ward376
Guest
Posts: n/a
 
      19th Dec 2009
Chip, if you don't have an iron-clad way, I know I can stop looking.

Thanks!
Cliff Edwards
 
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
outlook 2003 this email account cannot be configured Austin Williams Microsoft Outlook Installation 0 23rd Jul 2009 08:18 PM
How to detect whether Outlook is configured on machine using Regis makarand devalekar Microsoft Outlook VBA Programming 3 19th Jan 2009 07:39 PM
how to detect if installed-outlook is configured ? =?Utf-8?B?a2VkYXI=?= Microsoft Outlook Program Addins 0 20th Dec 2006 05:08 AM
how to detect outlook is configured or not? =?Utf-8?B?a2VkYXI=?= Microsoft Outlook Installation 0 20th Dec 2006 05:08 AM
How to detect if Outlook has been configured? Mike Microsoft Outlook VBA Programming 1 19th Aug 2005 08:14 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:40 AM.