![]() |
Removing default folders
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. |
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 ... 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. |
Removing default folders
Hi Dmitry,
Basically our customer wants his own pst file for further upgrades. BTW - can we do this through Outlook Spy? "Dmitry Streblechenko" wrote: 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 ... 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. |
Removing default folders
Delete a folder? Sure, select the root folder in that PST store, click
IMAPIFolder button on the OutlookSpy toolbar, go to the GetHierarchyTable tab, select the folder you want to delete, click Delete. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Tom at GSD" wrote in message ... Hi Dmitry, Basically our customer wants his own pst file for further upgrades. BTW - can we do this through Outlook Spy? "Dmitry Streblechenko" wrote: 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 ... 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. |
All times are GMT +1. The time now is 08:19 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-2006 OutlookBanter.com