![]() |
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
|
|||
|
|||
![]()
hello
I've VSTO addin for OL2007.I've shown form region as separate page for contact form. On that region I've placed AX ctl consisting of 2 comboboxes.When user changes combobox contents I invoke below Proc in AX ctl Public Sub AddModifyUserProp(ByVal PropName As String, ByVal PropValue As String) Dim ObjContactItem As Outlook.ContactItem Set ObjContactItem = ActiveInspector.CurrentItem If Not ObjContactItem Is Nothing Then Dim userProperty As Outlook.userProperty Set userProperty = ObjContactItem.UserProperties.Find(PropName, True) If userProperty Is Nothing Then Set userProperty = ObjContactItem.UserProperties.Add(PropName, olText, True) End If If Not userProperty Is Nothing Then userProperty.Value = PropValue Set userProperty = Nothing End If Set ObjContactItem = Nothing End If End Sub When User changes something in any of combo on form region ,Outlook prompts for save, If user clicks No,Item gets closed.But when same contact is opened ,without changing anything closed,Outlook again prompts for change(though nothing changed). I've released alll objects.What might be the reason,is it related to form region or something else? Thanks in Advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calendar format changed and can't save it | annasue | Outlook - Calandaring | 3 | November 27th 07 08:55 PM |
Missing The Prompt To Open OR Save An Attachment In Outlook 2003 | [email protected] | Outlook - General Queries | 1 | August 29th 07 12:38 AM |
Mistakenly did not SAVE changed info in Outlook Contacts. Want inf | cawarchitect | Outlook - Using Contacts | 3 | March 24th 07 03:39 PM |
TURNED ON MY COMPUTER AND FONT SIZE SETTINGS CHANGED TO TINY/EXCELL CHANGED TOO | [email protected] | Outlook - General Queries | 0 | October 29th 06 09:50 PM |
Prompt to Save appointment | Rich W. | Outlook - Calandaring | 3 | July 3rd 06 11:47 AM |