![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I've built an add-in that creates a new address book, fills it with contacts
from an external source and gives the user the option to move these contacts into thier Contacts folder (for synchronizing with a PDA). If the folder already exists, the contents in the new address book are updated (adding new and deleting missing items from the external source). The Contacts folder is synchronized by deleting and replacing items based on a Category name to preserve Contacts that are not from this source. This process works fine but unfortunately raises havoc with the autocomplete cache, at least for the contact items I am replacing. I can capture the .nk2 file, rename it and have the user close Outlook, replace the .nk2 file with the renamed file and when Outlook is reopened the autocomplete cache is ok. This is not a very pleasant process to go through on a regular basis, even if I automate the file replacement to a single click because of the need to close and reopen Outlook. Is there anyway to programatically (C#) duplicate the rebuilding of the autocomplete cache (select all contacts from desired source - send to new message - ctlK - close without saving)? TIA for any suggestions. |
Ads |
#2
|
|||
|
|||
![]()
I know of no way to do that
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "michigander" wrote in message ... I've built an add-in that creates a new address book, fills it with contacts from an external source and gives the user the option to move these contacts into thier Contacts folder (for synchronizing with a PDA). If the folder already exists, the contents in the new address book are updated (adding new and deleting missing items from the external source). The Contacts folder is synchronized by deleting and replacing items based on a Category name to preserve Contacts that are not from this source. This process works fine but unfortunately raises havoc with the autocomplete cache, at least for the contact items I am replacing. I can capture the .nk2 file, rename it and have the user close Outlook, replace the .nk2 file with the renamed file and when Outlook is reopened the autocomplete cache is ok. This is not a very pleasant process to go through on a regular basis, even if I automate the file replacement to a single click because of the need to close and reopen Outlook. Is there anyway to programatically (C#) duplicate the rebuilding of the autocomplete cache (select all contacts from desired source - send to new message - ctlK - close without saving)? TIA for any suggestions. |
#3
|
|||
|
|||
![]()
It is also possible I am using the wrong approach to keep the Outlook
contacts updated from the external source. The intention is for this to be one-way only. Can anyone suggest a better way than delete and replace while leaving other items in the contact folder that do not match the category alone? "Ken Slovak - [MVP - Outlook]" wrote: I know of no way to do that -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "michigander" wrote in message ... I've built an add-in that creates a new address book, fills it with contacts from an external source and gives the user the option to move these contacts into thier Contacts folder (for synchronizing with a PDA). If the folder already exists, the contents in the new address book are updated (adding new and deleting missing items from the external source). The Contacts folder is synchronized by deleting and replacing items based on a Category name to preserve Contacts that are not from this source. This process works fine but unfortunately raises havoc with the autocomplete cache, at least for the contact items I am replacing. I can capture the .nk2 file, rename it and have the user close Outlook, replace the .nk2 file with the renamed file and when Outlook is reopened the autocomplete cache is ok. This is not a very pleasant process to go through on a regular basis, even if I automate the file replacement to a single click because of the need to close and reopen Outlook. Is there anyway to programatically (C#) duplicate the rebuilding of the autocomplete cache (select all contacts from desired source - send to new message - ctlK - close without saving)? TIA for any suggestions. |
#4
|
|||
|
|||
![]()
If you don't replace the changed items then you have to go over every
property in the synch object to update the existing item, so I'd say your choice would be a better one. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "michigander" wrote in message ... It is also possible I am using the wrong approach to keep the Outlook contacts updated from the external source. The intention is for this to be one-way only. Can anyone suggest a better way than delete and replace while leaving other items in the contact folder that do not match the category alone? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 cache mode address book problem | Golden_au | Outlook - Installation | 0 | September 19th 07 05:26 AM |
Autocomplete doesn't work have Contacts but no Address Book? | Freddie | Outlook - Using Contacts | 4 | October 11th 06 01:51 PM |
How do I clear autocomplete cache when I have no NK2-file? | Kjetil Thorstensen | Outlook - Using Contacts | 3 | August 29th 06 10:03 PM |
Outlook 2002- Want to save email addresses in cache to address book. How? | [email protected] | Outlook - Using Contacts | 1 | June 18th 06 12:35 PM |
My e-mail address book (for Autocomplete) has disappeared | [email protected] | Outlook - Using Contacts | 0 | January 9th 06 10:46 PM |