View Single Post
  #2  
Old June 22nd 07, 07:07 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Removing default folders

If all you want to do is display a folder home paage, why not do that using
a folder in one of the defauls store's folders?
Why do you need to create a PST file if you have no intention of ever
storing any messages there?
As for deleting folders, you can delete the Inbox and "Deleted Items"
folders using CDO 1.21, Extended MAPI or Redemption (OOM won't let you
delete any of the default folders), but "Search Folders" will stay - it is
displayed by Outlook for all stores that support search folders
(STORE_SEARCH_OK bit is set in the PR_STORE_SUPPORT_MASK property).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Tom at GSD" wrote in message
news
Hello,

I have created an ATL C++ Outlook Add-in for 2003 and 2007. Within this
plug-in I have created a custom folder (separate PST) much like the
personal
folder that hosts a web page. By default calling AddStoreEx from the
namespace the folder is created; but also child folders "inbox", "Deleted
Items" and "Search Folders" are also created. Is there anyway to delete
the
child folders? I tried removing them but the functionality fails.

Thanks for your help.




Ads