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...