A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Removing default folders



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 22nd 07, 05:57 PM posted to microsoft.public.outlook.program_addins
Tom at GSD
external usenet poster
 
Posts: 84
Default 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.


Ads
  #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.




  #3  
Old June 22nd 07, 07:24 PM posted to microsoft.public.outlook.program_addins
Tom at GSD
external usenet poster
 
Posts: 84
Default 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
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.





  #4  
Old June 22nd 07, 08:38 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default 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
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.







 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I configure Public Folders to be default contact folders? RobinBaral Outlook - Using Contacts 2 September 27th 06 05:12 PM
Removing Outlook contact folders [email protected] Outlook - Using Contacts 4 June 29th 06 09:46 PM
removing duplicate personal folders Tim Outlook - General Queries 3 March 19th 06 03:30 AM
Default New Field to appear on New Sub Folders Mike Outlook and VBA 1 March 10th 06 06:28 AM
removing/hiding the Favorites folder under Public Folders AF Outlook - Installation 2 January 28th 06 02:39 AM


All times are GMT +1. The time now is 08:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2025 Outlook Banter.
The comments are property of their posters.