Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / June 2007

Tip: Looking for answers? Try searching our database.

Get grouped by mail items

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
j - 25 Jun 2007 15:55 GMT
Hi All,

I'm using vsto 2005 c# .net 2.0.

How it possible to get items collection as them appear in view e.g. in
folder MyFolder mail items groupe by From and Size columns, how can i
get this items collection and over on it.

Tnx in advance.
Ken Slovak - [MVP - Outlook] - 25 Jun 2007 22:02 GMT
You can't get whatever is in the view, only a filtered set of items or all
items or the selected items. If you read the current view and reverse
engineer any view filter that's set and then apply the same filter to the
Items collection of the folder you can do it, but none of that is documented
that I'm aware of.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hi All,
>
[quoted text clipped - 5 lines]
>
> Tnx in advance.
j - 26 Jun 2007 07:57 GMT
Thanks,

1. So in whcich order i get the itmes colelction??   mapiFolder.items
   Randomaly ???

2. Maybe Redemption will help me in some way ???

Tnx in advance.
Ken Slovak - [MVP - Outlook] - 26 Jun 2007 14:07 GMT
There is nothing that will let you get the items in a view other than what I
said that I know of. When you get an Items collection it will be in the
order in which the items were created in the folder, sorted up or down
depending on how you sort or don't sort the Items collection.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Thanks,
>
[quoted text clipped - 4 lines]
>
> Tnx in advance.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.