|
|
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 |
|
There is no answer at this time. |
|
There are no comments at this time. |
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 Home - Answers FAQ - Terms of Service - Privacy Policy |