none
how to save outlook 2016 advanced find column setting RRS feed

  • Question

  • every time add the advanced find column setting, it will reset to default when closed. anyway to save the column view in it?
    Tuesday, June 27, 2017 9:25 AM

Answers

  • Hello Ricky,

    There is no such option in Outlook to keep the advanced find settings saved permanently.

    You may consider creating a search folder in Outlook using the AdvancedSearch method of the Application class. The key benefits of using the AdvancedSearch method in Outlook are:

    • The search is performed in another thread. You don’t need to run another thread manually since the AdvancedSearch method runs it automatically in the background.
    • Possibility to search for any item types: mail, appointment, calendar, notes etc. in any location, i.e. beyond the scope of a certain folder. The Restrict and Find/FindNext methods can be applied to a particular Items collection (see the Items property of the Folder class in Outlook).
    • Full support for DASL queries (custom properties can be used for searching too). You can read more about this in the Filtering article in MSDN. To improve the search performance, Instant Search keywords can be used if Instant Search is enabled for the store (see the IsInstantSearchEnabled property of the Store class).
    • You can stop the search process at any moment using the Stop method of the Search class.

    Admittedly, the Search class allows you to save the results of searching in a search folder (actually, it doesn’t contain any items, only references to items from the scope folders). You just need to call the Save method on the Search object in the AdvanvedSearchComplete event handler.

    You can read more about the AdvancedSearch method in the Advanced search in Outlook programmatically: C#, VB.NET article. 


    profile for Eugene Astafiev at Stack Overflow, Q&A for professional and enthusiast programmers

    • Marked as answer by Ricky9211 Wednesday, June 28, 2017 3:08 AM
    Tuesday, June 27, 2017 2:46 PM