AdvancedSearch() returns a Search object which has a Save() method that
returns a MAPIFolder object. That's how to get the reference you need. If
you intend to repeat the process make sure to store the folder EntryID or
delete the search folder when done with it.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"madhavi" madhavi.3ypcsa@invalid wrote in message
news:madhavi.3ypcsa@invalid...
Actually I need to have a window, where user can enter some creteria for
search and on click of search, results need to be displayed in the
folder view pane.
Any ideas on how to do this?
I thought of using advancesearch of application, so that it creates
search folder.
So I need to select the search folder programmatically.
Any help on how to approach /solve this will be helpful.
--
madhavi
http://forums.slipstick.com