![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi!
I have an Outlook addin with a custom button in a toolbar. When I press this button, I would like to search for certain mailitems (using AdvancedSearch), and display them in a list (view)...something similar to what Find does, but programatically. Any idea how this could be done (the display I mean...the search works just fine)? Thanks, Doru |
#2
|
|||
|
|||
![]()
The results of a Search object are, oddly enough, stored in a Results
collection. That collection has Count and Item properties that can be used in a For loop, it also has a full set of the Get functions (GetFirst, GetLast, GetNext and GetPrevious). Iterate that collection and display whatever information you want from each item in the collection in a list or grid or whatever in a custom form you design. -- 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 "dorutzu" wrote in message ... Hi! I have an Outlook addin with a custom button in a toolbar. When I press this button, I would like to search for certain mailitems (using AdvancedSearch), and display them in a list (view)...something similar to what Find does, but programatically. Any idea how this could be done (the display I mean...the search works just fine)? Thanks, Doru |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't find server | news | Outlook Express | 3 | March 14th 06 03:50 AM |
I CANNOT FIND OUTLOOK!! HELP!! | schmilary | Outlook - General Queries | 8 | February 18th 06 12:19 AM |
How to use Find Now? | The Hun | Outlook - General Queries | 2 | February 9th 06 03:41 AM |
Find and advance find does not find anything ever | Terri Schoerner | Outlook - Using Contacts | 1 | February 1st 06 09:40 PM |
2003 calendar's find, doesn't find items created today till tomarr | Support7556 | Outlook - Calandaring | 11 | January 20th 06 09:54 PM |