A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Get grouped by mail items



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 25th 07, 04:55 PM posted to microsoft.public.outlook.program_addins
j
external usenet poster
 
Posts: 109
Default Get grouped by mail items

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.

Ads
  #2  
Old June 25th 07, 11:02 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Get grouped by mail items

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.

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


"j" wrote in message
oups.com...
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.


  #3  
Old June 26th 07, 08:57 AM posted to microsoft.public.outlook.program_addins
j
external usenet poster
 
Posts: 109
Default Get grouped by mail items

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.

  #4  
Old June 26th 07, 03:07 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Get grouped by mail items

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.

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


"j" wrote in message
ups.com...
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.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Journal Grouped by Category krybka Outlook - General Queries 1 July 5th 06 07:34 PM
How do I sort my contacts while keeping them grouped by category? mna11 Outlook - Using Contacts 3 June 8th 06 12:14 AM
How do I print address cards grouped by category? Jenn Outlook - Using Contacts 3 May 31st 06 12:18 AM
Outlook 2003 - show ALL mail, grouped by person? Qman Outlook - General Queries 1 May 17th 06 11:25 PM
Moving a Mix of Mail Items and Report Items Steve Roberts Outlook and VBA 1 January 24th 06 11:36 PM


All times are GMT +1. The time now is 07:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.