Google Answers Logo
View Question
 
Q: Programming Advanced Search in Microsoft Outlook 2003 (Exchange 2003 Server) ( No Answer,   0 Comments )
Question  
Subject: Programming Advanced Search in Microsoft Outlook 2003 (Exchange 2003 Server)
Category: Computers > Software
Asked by: knell-ga
List Price: $15.00
Posted: 05 Dec 2005 04:25 PST
Expires: 04 Jan 2006 04:25 PST
Question ID: 601564
We would like to create search folders within the mailboxes of all
users. First we tried to do it locally. This code works fine on the
local primary mailbox:

Function SuchordnerAnlegen()
Dim SearchFolder As Outlook.MAPIFolder
Dim objSch As Search
Dim strF As String
Dim strS As String
Dim strTag As String
Dim myOlApp As Outlook.Application
Set myOlApp = CreateObject("Outlook.Application")
strF = "http://schemas.microsoft.com/mapi/id/{00062002-0000-0000-C000-000000000046}/82360040
<= '30.6.2005'"
strS = "Calendar"
strTag = "RecurSearch"
Set objSch = myOlApp.AdvancedSearch(Scope:=strS, Filter:=strF,
SearchSubFolders:=True, Tag:=strTag)
Set SearchFolder = objSch.Save("MyCal") 'Change MyCal to the search
folder you want to create
End Function

Now we only need to know two things:
a) How can we create a search folder in another users mailbox programmatically?
b) How can we delete an existing search folder programmatically?

Some example would be sufficient for us.

Thanks!
Chris
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy