Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / February 2004

Tip: Looking for answers? Try searching our database.

folder entry IDs, CDO and cached exchange mode ol2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim Spicer - 24 Feb 2004 01:37 GMT
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
Tom Rizzo [MSFT] - 24 Feb 2004 02:07 GMT
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.

> Hi,
> Thanks to Siegfried Weber and others, we have been using CDO/Outlook to
[quoted text clipped - 11 lines]
> Thanks for any help,
> Jim Spicer
Ken Slovak - [MVP - Outlook] - 24 Feb 2004 16:09 GMT
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.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> 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
[quoted text clipped - 7 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
Jim Spicer - 24 Feb 2004 17:30 GMT
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
> 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
[quoted text clipped - 29 lines]
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
Jim Spicer - 24 Feb 2004 18:58 GMT
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

> Ken,
> You may be onto the problem. I'm was using the same mailbox to test on two
[quoted text clipped - 39 lines]
> > > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.