Re: TaskItem and AppointmentItem formated body
- From: Dan Mitchell <djmitchella@xxxxxxxxx>
- Date: Wed, 08 Nov 2006 10:42:59 -0800
=?Utf-8?B?cmF6dmFudGlt?= <razvantim@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:EFF17AAC-6764-4715-A151-D1A69EFCE328@xxxxxxxxxxxxx:
i'm using the MAPI library in .net but i can't seem to figure out how
to use PR_RTF_COMPRESSED
If you were using ExMAPI normally, you'd do:
OpenProperty(PR_RTF_COMPRESSED) to get the compressed stream
WrapCompressedRTFStream() to get an uncompressed stream out
then use standard IStream operations on that stream, and call RTFSync
when you're done. See the documentation for PR_RTF_COMPRESSED,
basically.
I don't know what's in the "MAPI library" you're using, but you should
look for functions that are similar to those ones. I don't know which
bit of the CLR is for IStream once you're out of the ExMAPI code, but
there must be something in there somewhere.
Oh, and as Ken mentions, .Net + CDO1.21 (or ExMAPI) aren't supported.
They may work, but if mysterious things go wrong, the answer is "don't
mix those things".
http://support.microsoft.com/kb/813349
http://support.microsoft.com/kb/872895
-- dan
.
- References:
- Re: TaskItem and AppointmentItem formated body
- From: Ken Slovak - [MVP - Outlook]
- Re: TaskItem and AppointmentItem formated body
- Prev by Date: Newbie: How can enable VBA projects i Outlook 2003?
- Next by Date: Re: How to set CC @ Outlook Redemption
- Previous by thread: Re: TaskItem and AppointmentItem formated body
- Next by thread: Re: TaskItem and AppointmentItem formated body
- Index(es):
Relevant Pages
|