View Single Post
  #2  
Old July 14th 08, 11:17 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default List of explorers

No. Explorers, like other Outlook object model collections, is 1-based, not
0-based.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"Hichem Sarrai" wrote:

Hi,
Is there an outlookApplication.Explorers[0].
and what is the difference with outlookApplication.Explorers[1].

When I initialize my outlook addin I do the following :

if (Explorers.Count = 1)
{
OutlookExplorersManager.AddExplorer(this, Explorers[1]);
}

If Explorers[0] exists would it be more logic to write :

if (Explorers.Count = 2)
{
OutlookExplorersManager.AddExplorer(this, Explorers[1]);
}


Thanks for answering...

Ads