View Single Post
  #1  
Old August 6th 09, 04:10 AM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 1
Default Trying to modify a contact item's body property

We are developing an Outlook add-in with VS 2008 3.5. We have
developed a custom contact form in WPF that modifies the contact
object via a custom form region. We are trying to date and time stamp
the Body property - however, we are getting an COMException error.

1) Is there any way to trap COM exception errors?
2) Where can we change the body property, if not in the form region?

public property Body as string
get
return _body
end get
set(value as string)
_body = value
_contactitem.body = value
NotifyPropertyChanged("Body")
end set
end property


Regards Richard
Ads