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 » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Custom Search Folder



 
 
Thread Tools Search this Thread Display Modes
  #11  
Old April 20th 06, 10:35 AM posted to microsoft.public.outlook
dorutzu
external usenet poster
 
Posts: 4
Default Custom Search Folder

But isn't there any way to do this, even with CDO or Redemption? If the user
can do this manually, I belive there should be a way to do this
programatically as well. Also, it seems that I can create a (invalid,
unfortunatelly) search folder in a custom storage via MFCMapi. Any futher
ideas regarding this issue?
Thanks again!


Ads
  #12  
Old April 20th 06, 02:26 PM posted to microsoft.public.outlook
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Custom Search Folder

Code would have to log into that other store and create the search folder in
that other store and save it there.

A search folder, to be technical, is a folder that contains a MAPI
Restriction. That restriction applies only to items in the store and the
store must be able to support searches like that. The PR_STORE_SUPPORT_MASK
property in a store (IMsgStore) must have the STORE_RESTRICTION_OK flag set
in that property to be able to use a search folder.

If that flag bit isn't set you cannot create a search folder in that store.
An example of a store like that is Exchange public folders. You just cannot
create a search folder in a public folder store, no matter what API you use,
including Extended MAPI (CDO and Redemption just wrap Extended MAPI as COM
objects).

Some alternate store providers might also not support STORE_RESTRICTION_OK.

You mention a user doing it manually, I defy you to manually create a search
folder in PST file A that works on PST file B. You just can't. Unless and
until the design of MAPI stores is moved from the modified JET database they
now use into SQL server there isn't even the possibility of doing that.

If you want to explore these things I highly recommend using either MFCMAPI
from MS or OutlookSpy from the author of Redemption. Both are client side
tools that let you dig into all those MAPI things that Outlook hides from
you.

--
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
...
But isn't there any way to do this, even with CDO or Redemption? If the
user can do this manually, I belive there should be a way to do this
programatically as well. Also, it seems that I can create a (invalid,
unfortunatelly) search folder in a custom storage via MFCMapi. Any futher
ideas regarding this issue?
Thanks again!


 




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
Create a search folder to look at all emails in one folder and selected criteria in other folders [email protected] Outlook - General Queries 1 April 10th 06 09:40 AM
Search Folder Question Please Bob Newman Outlook - General Queries 0 April 2nd 06 03:34 PM
search custom fields student of science Outlook - Using Forms 2 March 22nd 06 04:28 PM
Which folder is the message in after search? Gregg Hill Outlook - General Queries 2 March 1st 06 07:50 AM
Help me setup this custom search [email protected] Outlook - General Queries 0 January 23rd 06 05:18 PM


All times are GMT +1. The time now is 10:41 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.