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

Redemption, creating Exchange folders, and making them invisible



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 9th 07, 09:50 PM posted to microsoft.public.outlook.program_addins
Mike
external usenet poster
 
Posts: 332
Default Redemption, creating Exchange folders, and making them invisible

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
  #2  
Old November 9th 07, 10:20 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Redemption, creating Exchange folders, and making them invisible

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.



  #3  
Old November 9th 07, 10:46 PM posted to microsoft.public.outlook.program_addins
Mike
external usenet poster
 
Posts: 332
Default Redemption, creating Exchange folders, and making them invisib

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.




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






  #5  
Old November 12th 07, 07:17 AM posted to microsoft.public.outlook.program_addins
Mike
external usenet poster
 
Posts: 332
Default Redemption, creating Exchange folders, and making them invisib

Yes, I'm familiar with the fact that Outlook Spy doesn't require code, but I
meant are there any Redemption code samples that I could peruse to view how
to create the invisible folder you talk about.

The reason is, I am using a third party control to embed a form in the Web
View pane of Outlook, and to do that the form is associated with a folder. I
don't really need the folder to be visible to do that since there will be
toolbar buttons available for the navigation to the form, so I thought if it
was a simple Redemption or OOM call, I'd just make the folder invisible to
aviod confusion. Thanks again.

"Dmitry Streblechenko" wrote:

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.







  #6  
Old November 13th 07, 09:08 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

Exchange is a problem, it does not allow to add new folders on the root
level. PST is fine...

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

"Mike" wrote in message
...
Yes, I'm familiar with the fact that Outlook Spy doesn't require code, but
I
meant are there any Redemption code samples that I could peruse to view
how
to create the invisible folder you talk about.

The reason is, I am using a third party control to embed a form in the Web
View pane of Outlook, and to do that the form is associated with a folder.
I
don't really need the folder to be visible to do that since there will be
toolbar buttons available for the navigation to the form, so I thought if
it
was a simple Redemption or OOM call, I'd just make the folder invisible to
aviod confusion. Thanks again.

"Dmitry Streblechenko" wrote:

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.









 




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
Looping through and/or creating Exchange folders via Redemption Mike Add-ins for Outlook 7 October 12th 07 07:28 PM
Redemption and Exchange Server issues j Add-ins for Outlook 0 July 17th 07 09:22 AM
Redemption and Exchange Server issues j Add-ins for Outlook 0 July 17th 07 08:18 AM
Making reminders on calender invisible Beth Silbaugh Outlook - Calandaring 1 May 24th 07 09:01 AM
Creating a Calendar in Exchange 5.5 Public Folders...Rights error. Chris Stephens Outlook - Calandaring 1 May 4th 06 02:32 PM


All times are GMT +1. The time now is 09:29 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-2025 Outlook Banter.
The comments are property of their posters.