Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Development / July 2004

Tip: Looking for answers? Try searching our database.

CDO 1.21 Contacts/Address Bk

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rick Koch - 26 Jul 2004 16:49 GMT
I wrote a CDO 1.21 Contacts interface about 2 yrs ago.  At the time,
CDO contacts were not fully documented/supported by MSFT.

I had problems getting a new contact's Email address to register in
the user's personal address book.  The only way to get the new
contact's address into the address book was to open and save the
contact from within Outlook after CDO had created it.  This was
attributed to undocumented properties that only Outlook could create.

One suggestion we got, from usenet, was to create a blank contact
"template" in Outlook.  Creating it in Outlook implied that the
"magic" properties would be set on the item.  Then, rather than
creating the contact from scratch, our process actually used CDO to
copy the template into the contact folder and update the fields with
the values of the contact that was being "created."

Contacts created like this work correctly with the address book when
you send them messages from the Inbox.  However, when you select "new
message to contact" by right-clicking in the Contacts folder, the mail
would be sent to the original "template" address.

We have to do a little more work with this application, and I'm hoping
to fix this behavior.  A couple years ago, the address book problem
(regarding the magic "Outlook" properties) was pretty well known in
these newsgroups, as was the solution of using a template.  However,
we didn't expect the problem associated with sending mail from the
Contacts folder.

I've been led to believe that MSFT (or MSDN) has since published more
info about creating contacts, but I don't know if this addresses any
of the address book quirks.

Can anyone comment on the relationship between Contacts and the
personal address book, and the state of the art with regard to getting
new contacts fullly recognized by the address book?
Ken Slovak - [MVP - Outlook] - 29 Jul 2004 17:15 GMT
I don't know about any new information, I haven't heard of any in relation
to CDO 1.21. It's not likely since MS is trying to deprecate usage of CDO
12.1.

However the code to create a contact at www.cdolive.com/cdo5.htm is almost
complete and functional. All you need to add to it is creation of an
EmailXEntryID property. You can do that using
Session.CreateConversationIndex or by calling the Win32 API calls to create
a GUID. That should work for you.

Signature

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

> I wrote a CDO 1.21 Contacts interface about 2 yrs ago.  At the time,
> CDO contacts were not fully documented/supported by MSFT.
[quoted text clipped - 31 lines]
> personal address book, and the state of the art with regard to getting
> new contacts fullly recognized by the address book?
 
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



©2009 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.