View Single Post
  #4  
Old November 11th 07, 11:06 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Redemption, creating Exchange folders, and making them invisib

OutlookSpy (unlike Redemption) does not require any code, it simply lets you
see how Outlook data is stored.
What exactly are you trying to do with the folder?

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

"Mike" wrote in message
...
Thank you Dmitry. I am not at all familiar with Outlook Spy. Are there
any
code samples availabe anywhere to do what you are stating? Thanks again.


"Dmitry Streblechenko" wrote:

Redemption (or MAPI for that matter) cannot make a fodler invisible
per-se,
but you can create teh folder where it will be invisible to an end user,
e.g. in the non-IPM tree.
Redemption lets you do that by providing access to teh
RDOStore.RootFolder
(root folder invisible) and RDOStore.IPMRootFolder (which is the top
visible
folder and is a child of the RootFolder).
Play with this in OutlookSpy - click ImsgStore, then "Open Root
Container"
and go to the GetHierarchyTable tab.

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

"Mike" wrote in message
...
I am currently creating a MAPIFolder by doing the following:

Outlook._Application olApp = OutlookApp;
Outlook._NameSpace olNs = olApp.GetNamespace("MAPI");

Outlook.MAPIFolder mapifolderRoot =
(Outlook.MAPIFolder)olNs.GetDefaultFolder(Outlook. OlDefaultFolders.olFolderInbox).Parent;

_mapifolderArchive3 = mapifolderRoot.Folders.Add(_sCustomFolderName,
Outlook.OlDefaultFolders.olFolderInbox);

Since the OOM doesn't allow toggling of folder visibility, and I hear
that
Redemption does, how can I
1) Use Redemption to create the folder and mark it invisible
2) Keep the code above and just use Redemption to hide it

Thanks for the assistance.






Ads