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.