Hello all, bear with me if posting in incorrect forum.
I've created an Outlook AddIn, using VSTO 2005 (not SE) against Outlook 2003. My Add-In is nearly working as intended, but I have a small issue. The purpose of addin is to add functionality to format contact items by rules I configure in a Dialog. (I.e. change FileAs, Email1DisplayName, Email3DisplayName, Email3DisplayName and all kind of phonenumbers in contact items)
This contact formating can be done from:
1) button added in a custom Toolbar in Explorer(s). Then all contacts in selected folder is formated and SAVED
2) button added to the standard toolbar inside the Contact Inspector. Formating is then done on ContactItem presented in the Inspector. My code don't save here after formatting ... leaving that decision to the user when closing inspector.
Scenario: I open an existing ContactItem. Then I use my format button inside Inspector, which performs the formatting nice and as planed. The formatting is also seen inside inspector. All good so far. Then I close inspector, WITHOUT SAVING (I get the question about "Do you want to save changes ", but I answer No)
Problem: When I now open this particular Contact Item again, I SEE my last (unsaved) formatting. If I exit Inspector at once, without further changes in item, I'm again asked: "Do You want to save changes ¡± Strange! However, in the Explorer showing all contact items, I DON'T see these (unsaved) formatting. If I exit Outlook and reopen, the contact item is back on track (i.e.: showing as it was BEFORE last formatting)
So: Any ideas
Jan Inge