PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Re: Updating contacts through MAPI directly.
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Re: Updating contacts through MAPI directly.
![]() |
Re: Updating contacts through MAPI directly. |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Interesting. My bet is Outlook also adds the contact to the autocomplete
list, which is stored as a file AFAIK. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Darren Kennedy" <darren@electricmail.com> wrote in message news:037501c33f55$7e502ee0$a501280a@phx.gbl... > Yes I did. There were only 3 fields that changed at all. > These were 0x808D, 0x8092 and 0x809E. I tried adding those > values to my original code created contact and it still > didn't fly. Additionally I took the Outlook-saved-contact > and removed those 3 fields and the contact still worked > properly with auto-complete. > > This leads me to believe that it's not those 3 fields that > are affecting the contact. > > Darren > > >-----Original Message----- > >Did you try to compare the two contacts (created by your > code and by > >Outlook)? You can do that using IMessage|Compare tab in > OutlookSpy. > > > >Dmitry Streblechenko (MVP) > >http://www.dimastr.com/ > >OutlookSpy - Outlook, CDO > >and MAPI Developer Tool > > > > > >"Darren" <darren@electricmail.com> wrote in message > >news:117401c33cfb$2b30eb70$a401280a@phx.gbl... > >> Using Visual C++ 6.0. > >> > >> I'm writing an extension that updates contacts by > working > >> directly with MAPI. When I create a new contact and add > in > >> all the fields that I require (using OutSpy to check all > >> fields that I believe I need). The contact appears to be > >> added fine. It looks and acts like an Outlook contact > with > >> one MAJOR exception. > >> > >> I just can not open a new mail message and get it to > >> recognize one of these contacts via an autocomplete (ie > >> type in 'Dar' in To:field and Outlook recognizing it as > >> the contact "Darren Kennedy (darren@electricmail.com)". > I > >> can browse to it in Contacts and double click it though. > >> > >> If I open and save a minor change to this contact, > Outlook > >> then can recognize it with autocomplete. This all being > >> said, obviously in my mind there must be some kind of > >> index set somewhere during Outlooks save process. > >> > >> I need this extension to work on 98/00/XP which is why > I'm > >> accessing directly thru MAPI instead of Outlooks API, > >> figuring the same .dll will work with all 3 versions > (and > >> it does). > >> > >> Can anyone help me? Do I need to #import the type > >> libraries and maintain 3 different versions of the > >> extension? Or is there a way to do what I'm trying to do > >> thru MAPI. In short what other step is being done by > >> the 'save process' in Outlook other than updating the > >> Address object. > >> > >> Thanks, > >> > >> Darren > > > > > >. > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

