D
Developer
Hi,
I am writing an outlook add-in for Office 2003 + Windows XP using VB.NET
1.1.
Ref:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/html/odc_oladdinvbnet.asp
I have copied existing Outlook appointment form and added a new Tab called
"Resources" next to appointment tab. I have added couple of UserProperties
into this form.
The problem is: When user tries to change any existing appointment form, and
press Escape key, appointment form is closed without saving except
UserProperties for custom "Resources" form.
I have added the following code that is called when user presses Escape key:
Private Sub m_olAppointmentItem_Close(ByRef Cancel As Boolean) Handles
m_olAppointmentItem.Close
m_olAppointmentItem.Close(OlInspectorClose.olDiscard)
Cancel = True
End Sub
Kind Regards,
Developer
I am writing an outlook add-in for Office 2003 + Windows XP using VB.NET
1.1.
Ref:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/html/odc_oladdinvbnet.asp
I have copied existing Outlook appointment form and added a new Tab called
"Resources" next to appointment tab. I have added couple of UserProperties
into this form.
The problem is: When user tries to change any existing appointment form, and
press Escape key, appointment form is closed without saving except
UserProperties for custom "Resources" form.
I have added the following code that is called when user presses Escape key:
Private Sub m_olAppointmentItem_Close(ByRef Cancel As Boolean) Handles
m_olAppointmentItem.Close
m_olAppointmentItem.Close(OlInspectorClose.olDiscard)
Cancel = True
End Sub
Kind Regards,
Developer