Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Redemption Shared Folder Problem when moving to Outlook 2007 (http://www.outlookbanter.com/outlook-vba/83181-redemption-shared-folder-problem-when.html)

Jacob Adams[_2_] December 15th 08 02:46 PM

Redemption Shared Folder Problem when moving to Outlook 2007
 


We currently have an application that works with Outlook 2003. In order to
get the owner of a shared contact folder, we simply call:
Redemption.RDOSessionClass.GetFolderFromID() and then took that folder and
got the RDOFolder.Store.Name property.

However, when trying this with a shared contact folder in Outlook 2007, the
RDOFolder.Store.Name is null.

Everything still works fine for normal contacts and for contacts in
"Additional Mailboxes" that I've added to my account.

The approach mentioned in
http://blogs.msdn.com/mstehle/archiv...07/744798.aspx appears to work,
but I would prefer to not release a new version of our application unless I
have to.

Basically I want to understand why this is working differently and what I
can do, if anything, to fix this from the server end.


Dmitry Streblechenko December 15th 08 04:35 PM

Redemption Shared Folder Problem when moving to Outlook 2007
 
Have you tried to cast that store to RDOExchangeMailboxStore and use the
RDOExchangeMailboxStore.Owner.Name property instead?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Jacob Adams" wrote in message
...


We currently have an application that works with Outlook 2003. In order to
get the owner of a shared contact folder, we simply call:
Redemption.RDOSessionClass.GetFolderFromID() and then took that folder and
got the RDOFolder.Store.Name property.

However, when trying this with a shared contact folder in Outlook 2007,
the
RDOFolder.Store.Name is null.

Everything still works fine for normal contacts and for contacts in
"Additional Mailboxes" that I've added to my account.

The approach mentioned in
http://blogs.msdn.com/mstehle/archiv...07/744798.aspx appears to
work,
but I would prefer to not release a new version of our application unless
I
have to.

Basically I want to understand why this is working differently and what I
can do, if anything, to fix this from the server end.




Jacob Adams[_2_] December 15th 08 06:23 PM

Redemption Shared Folder Problem when moving to Outlook 2007
 
Thanks for the quick reply.

Yes. That change also worked. However, that would also required me to
deploy a new version of the program. I am wanting to find a solution that
doesn't require a new deployment. I also want to understand why this exact
same code worked in Outlook 2003, but not in Outlook 2007.

"Dmitry Streblechenko" wrote:

Have you tried to cast that store to RDOExchangeMailboxStore and use the
RDOExchangeMailboxStore.Owner.Name property instead?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Jacob Adams" wrote in message
...


We currently have an application that works with Outlook 2003. In order to
get the owner of a shared contact folder, we simply call:
Redemption.RDOSessionClass.GetFolderFromID() and then took that folder and
got the RDOFolder.Store.Name property.

However, when trying this with a shared contact folder in Outlook 2007,
the
RDOFolder.Store.Name is null.

Everything still works fine for normal contacts and for contacts in
"Additional Mailboxes" that I've added to my account.

The approach mentioned in
http://blogs.msdn.com/mstehle/archiv...07/744798.aspx appears to
work,
but I would prefer to not release a new version of our application unless
I
have to.

Basically I want to understand why this is working differently and what I
can do, if anything, to fix this from the server end.





Dmitry Streblechenko December 15th 08 06:37 PM

Redemption Shared Folder Problem when moving to Outlook 2007
 
If the PR_DISPLAY_NAME propety is not exposed by the underlying message
store, RDOStore.Name will return "".

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Jacob Adams" wrote in message
...
Thanks for the quick reply.

Yes. That change also worked. However, that would also required me to
deploy a new version of the program. I am wanting to find a solution that
doesn't require a new deployment. I also want to understand why this
exact
same code worked in Outlook 2003, but not in Outlook 2007.

"Dmitry Streblechenko" wrote:

Have you tried to cast that store to RDOExchangeMailboxStore and use the
RDOExchangeMailboxStore.Owner.Name property instead?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Jacob Adams" wrote in message
...


We currently have an application that works with Outlook 2003. In order
to
get the owner of a shared contact folder, we simply call:
Redemption.RDOSessionClass.GetFolderFromID() and then took that folder
and
got the RDOFolder.Store.Name property.

However, when trying this with a shared contact folder in Outlook 2007,
the
RDOFolder.Store.Name is null.

Everything still works fine for normal contacts and for contacts in
"Additional Mailboxes" that I've added to my account.

The approach mentioned in
http://blogs.msdn.com/mstehle/archiv...07/744798.aspx appears to
work,
but I would prefer to not release a new version of our application
unless
I
have to.

Basically I want to understand why this is working differently and what
I
can do, if anything, to fix this from the server end.







Jacob Adams[_2_] December 15th 08 09:56 PM

Redemption Shared Folder Problem when moving to Outlook 2007
 
A apologize, but I am a little confused. If I understand you correctly, you
are saying that PR_DISPLAY_NAME property IS being exposed when I run Outlook
2003, but IS NOT being exposed when I run Outlook 2007. Is there anything
that I can do to address this, or is this just something I will have to deal
with?

"Dmitry Streblechenko" wrote:

If the PR_DISPLAY_NAME propety is not exposed by the underlying message
store, RDOStore.Name will return "".

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



Dmitry Streblechenko December 15th 08 11:43 PM

Redemption Shared Folder Problem when moving to Outlook 2007
 
There is nothing you can do, this is just how the Exchange provider is
implemented.
Are delegate mailboxes cached in Outlook 2007?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Jacob Adams" wrote in message
...
A apologize, but I am a little confused. If I understand you correctly, you
are saying that PR_DISPLAY_NAME property IS being exposed when I run
Outlook
2003, but IS NOT being exposed when I run Outlook 2007. Is there anything
that I can do to address this, or is this just something I will have to
deal
with?

"Dmitry Streblechenko" wrote:

If the PR_DISPLAY_NAME propety is not exposed by the underlying message
store, RDOStore.Name will return "".

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





Jacob Adams[_2_] December 16th 08 02:11 PM

Redemption Shared Folder Problem when moving to Outlook 2007
 
No, they are not being cached.

"Dmitry Streblechenko" wrote:

There is nothing you can do, this is just how the Exchange provider is
implemented.
Are delegate mailboxes cached in Outlook 2007?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Jacob Adams" wrote in message
...
A apologize, but I am a little confused. If I understand you correctly, you
are saying that PR_DISPLAY_NAME property IS being exposed when I run
Outlook
2003, but IS NOT being exposed when I run Outlook 2007. Is there anything
that I can do to address this, or is this just something I will have to
deal
with?

"Dmitry Streblechenko" wrote:

If the PR_DISPLAY_NAME propety is not exposed by the underlying message
store, RDOStore.Name will return "".

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







All times are GMT +1. The time now is 11:17 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