Trying to modify a contact item's body property

R

rwrench

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top