folder entry IDs, CDO and cached exchange mode ol2003

J

Jim Spicer

Hi,
Thanks to Siegfried Weber and others, we have been using CDO/Outlook to
access and enumerate folders of type, IPF.Contact to dump lists of addresses
to an external program.

But using Outlook 2003 in cached exchange mode, no folders are returned and
we think it's because the entry IDs are different.

One solution is to disable cached exchange mode but some network users won't
be able to do that.

Have the IDs changed and if so, what are they in cached mode?

Thanks for any help,
Jim Spicer
 
T

Tom Rizzo [MSFT]

The entryIDs should be the same. You can check via MDBVUE or code to see if
they're the same. If they're not, you can use the PR_SEARCH_KEY which
should be the same between them if the EntryIDs are not.

Tom
 
K

Ken Slovak - [MVP - Outlook]

The folder ID's are the same whether using cached mode or not or using
Outlook 2003 or earlier versions of Outlook. I've switched profiles
from cached to non-cached with the same code working in both often
enough to confirm that, and used the same mailboxes and code with
Outlook 2003 and 2002 and 2000 also.

Show some of the code you are using and say where it's being executed.
Also, see if your code is accessing mailboxes that are being accessed
from both Outlook 2003 and 2000, that can cause problems.




Tom Rizzo said:
The entryIDs should be the same. You can check via MDBVUE or code to see if
they're the same. If they're not, you can use the PR_SEARCH_KEY which
should be the same between them if the EntryIDs are not.

Tom

--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp

This posting is provided "AS IS" with no warranties, and confers no
rights.
 
J

Jim Spicer

Ken,
You may be onto the problem. I'm was using the same mailbox to test on two
different machines, one running ol2K and the other ol2K3. I'll do some more
testing.

If I get the same result (no contacts type folder names returned) I'll post
a code snippet.

Thanks,
Jim
 
J

Jim Spicer

I tested on a WinXP box with OL2K3; the mailbox is unique to this machine on
the network. Got the same result.

The code is derived from Siegfried Weber's sample code Folder Permission
Viewer Application -- http://www.cdolive.com/aclviewer.htm. I had to go
searching for it as it has been a few years. While at his site I re-read his
synopsis, where he points out the security patch probably breaks the code
because of acl.dll. It looks like I need a better/newer method to get the
contact type folder names.

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top