Re: Display a Dialog when Outlook is Started

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Sue Mosher [MVP-Outlook] (suemvp_at_outlookcode.com)
Date: 03/19/04


Date: Fri, 19 Mar 2004 09:06:22 -0500

Yes, Explorers.Count is the key. Take a look at the Items Command Bar sample
at http://www.microeye.com. It has good basic handling for this startup
issue.

-- 
Sue Mosher, Outlook MVP
Author of
     Microsoft Outlook Programming - Jumpstart for
     Administrators, Power Users, and Developers
     http://www.outlookcode.com/jumpstart.aspx
"Tom Winter" <Tom@NoSpam.AmosFiveSix.com> wrote in message
news:uqm489UDEHA.2908@TK2MSFTNGP09.phx.gbl...
> I would like to show a dialog box automatically the first time Outlook is
> started after my COM Add-In is installed. What is the best way to make
sure
> that Outlook was started normally, interactively by the end-user, rather
> than by automation or something like that? Is simply checking
> Application.Explorers.Count enough?
> -- 
> Tom Winter
> Tom@NoSpam.AmosFiveSix.com
> www.AmosFiveSix.com
>
>

Quantcast