Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / VS Tools for Office / March 2008

Tip: Looking for answers? Try searching our database.

How to enable Search Folder in Outlook 2007 using Outlook Object M

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kolan Veera Reddy - 04 Mar 2008 05:24 GMT
Hi,

In my outlook 2007, sometimes my search folders are disabled (italicized).  
Since I am using same Exchange account for both Outlook 2003 and Outlook
2007, if I delete the search folder from one account, it is disabling the
search folder in other account. If I click the disabled search folder in
Outlook, it is automatically enabling the search folder.

As per my requirement, I need to achieve this programmatically using outlook
object model or CDO.  

Is any custom folder property is available for enabling the disabled search
folder?
Thanks in Advance..!!
Signature

Kolan Veera Reddy

Ken Slovak - [MVP - Outlook] - 04 Mar 2008 14:41 GMT
CDO knows nothing about search folders at an object model level and is not
supported at all for use in managed code besides that.

The Outlook 2003 object model has no specific search folder properties,
methods or events. A search folder is created using the Search object and
saved, that's about it. You can delete an existing search folder and
re-create it using the same filter and search conditions, that's about it.

Outlook 2007 isn't much better in that respect, it has a
Store.GetSearchFolders() method but no search folder specific objects other
than that.

If you use the Redemption 3rd party library (www.dismastr.com/redemption)
you can use the RDOSearchFolder object and its Start() and Stop() methods
and its IsRunning and IsRebuild Boolean properties to determine the search
folder state and control that state.

Signature

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

> Hi,
>
[quoted text clipped - 12 lines]
> folder?
> Thanks in Advance..!!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.