Tasks and appointments store the body in RTF.
You would need to use either Extended MAPI (C++ or Delphi only) or
<plug>Redemption (url below) - set the SafeTaskItem.RtfBody property</plug>
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Joel Allen" <(E-Mail Removed)> wrote in message
news:uk%23FYe$(E-Mail Removed)...
> No, it's a custom Task item. Any ideas?
>
> "Michael Bauer [MVP - Outlook]" <(E-Mail Removed)> wrote in message
> news:sz4da217ierw$.(E-Mail Removed)...
>>
>>
>> Depends on the item. If it's an email, it's probably html, so read/write
>> the
>> stuff from/into the HTMLBody property.
>>
>> --
>> Best regards
>> Michael Bauer - MVP Outlook
>> Manage and share your categories:
>> <http://www.vboffice.net/product.html?pub=6&lang=en>
>>
>>
>> Am Wed, 17 Feb 2010 07:42:20 -0800 schrieb Joel Allen:
>>
>>> Outlook 2003 SP1
>>>
>>> Hi,
>>>
>>> The following script adds a note to existing notes in the notes field.
>>>
>>> '-----------------
>>> Sub CommandButtonNewEntry_Click()
>>> On Error Resume Next
>>> Item.Body = Now() & " " & pCurUserName & ": " & vbCrLf & vbCrLf &
>> Item.Body
>>> End Sub
>>> '-----------------
>>>
>>> My problem is that all the formatting is lost and turns it to plain
>>> text.
>>> Any ideas on how to keep the formatting that exists in the notes field?
>>>
>>> Thanks, Joel
>
>