L
Lucy
Hi
I am just curiours to how outlook orders its items in outlook? I have
created a very simple application using VSTO and I have added this code:
Outlook.MAPIFolder folder =
Application.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox)
as Outlook.MAPIFolder;
Outlook.MailItem mail = folder.Items[1] as Outlook.MailItem;
mail.Display(false);
This code gets the first item in the inbox and displays it. The item that is
displayed seems to be a very random item. (The same item is displayed each
time though). I have sorted my Inbox by all possibilities such as From,
Subject, Received, Size etc, but the item that is being displayed is not the
first or last in the inbox when it is sorted by any of these. So, in what
order does outlook store the items?
Lucy
I am just curiours to how outlook orders its items in outlook? I have
created a very simple application using VSTO and I have added this code:
Outlook.MAPIFolder folder =
Application.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox)
as Outlook.MAPIFolder;
Outlook.MailItem mail = folder.Items[1] as Outlook.MailItem;
mail.Display(false);
This code gets the first item in the inbox and displays it. The item that is
displayed seems to be a very random item. (The same item is displayed each
time though). I have sorted my Inbox by all possibilities such as From,
Subject, Received, Size etc, but the item that is being displayed is not the
first or last in the inbox when it is sorted by any of these. So, in what
order does outlook store the items?
Lucy