M
michigander
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.
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.