A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Trying to modify a contact item's body property



 
 
Thread Tools Search this Thread Display Modes
  #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
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I grab a field property (like .value) so I can modify it via OL code? cmonroe21 via OfficeKB.com Outlook - Using Forms 4 June 4th 09 09:53 PM
Outlook add-in accessviolationexception setting Body property Rick Shuri Outlook - Using Forms 3 December 3rd 08 06:40 PM
Regarding MailItem.Body Property Bharathi Outlook and VBA 3 June 22nd 07 02:47 PM
How do I modify the message body displayed in the email window? Steffen Heinzl Add-ins for Outlook 4 November 10th 06 09:49 AM
Reading a Custom Appointment Item's Conflict Property in Item_Write Function [email protected] Outlook - Using Forms 2 August 9th 06 06:53 PM


All times are GMT +1. The time now is 09:03 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.