PC Review


Reply
Thread Tools Rate Thread

Can't get PR_COMPRESSED_RTF property via PropertyAccessor

 
 
yostage@gmail.com
Guest
Posts: n/a
 
      14th Oct 2006
I'm trying to use either C# or Powershell to get an arbitrary RTF file
into the PR_COMPRESSED_RTF property of a Task. Sort of like a CLR
version of the problem discussed here:
http://groups.google.com/group/micro...f712509cc916e9

I've tried using
"http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/10090102"
and
"http://schemas.microsoft.com/mapi/proptag/0x10090102" but the
PropertyAccessor for the task fails on both of them. The docs refer to
the "Outlook Developer Reference" for more instructions on how to
construct these names but I can't figure out how to get to the Outlook
Developer Reference.

I can see the PR_COMPRESSED_RTF property on the task in the MAPI
Editor, but replacing it through that won't work because I need the
stream to compress the RTF for me. If I had an offline way to compress
an RTF , then I could use the MAPI editor to set the PR_COMPRESSED_RTF
directly, I guess.

Any guidance or ideas would be appreciated.

thanks, Scott

 
Reply With Quote
 
 
 
 
yostage@gmail.com
Guest
Posts: n/a
 
      14th Oct 2006
(E-Mail Removed) wrote:
> I'm trying to use either C# or Powershell to get an arbitrary RTF file
> into the PR_COMPRESSED_RTF property of a Task. Sort of like a CLR
> version of the problem discussed here:
> http://groups.google.com/group/micro...f712509cc916e9
>
> I've tried using
> "http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/10090102"
> and
> "http://schemas.microsoft.com/mapi/proptag/0x10090102" but the
> PropertyAccessor for the task fails on both of them. The docs refer to
> the "Outlook Developer Reference" for more instructions on how to
> construct these names but I can't figure out how to get to the Outlook
> Developer Reference.
>
> I can see the PR_COMPRESSED_RTF property on the task in the MAPI
> Editor, but replacing it through that won't work because I need the
> stream to compress the RTF for me. If I had an offline way to compress
> an RTF , then I could use the MAPI editor to set the PR_COMPRESSED_RTF
> directly, I guess.
>
> Any guidance or ideas would be appreciated.
>
> thanks, Scott


Using Redemption to set the RTFBody field seems to be doing the trick..

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a PropertyAccessor custom datetime property in Views wclarke101 Microsoft Outlook Program Addins 3 3rd Sep 2009 03:41 PM
Cannot read Property set in MeetingRequest via PropertyAccessor Upul Samaranayake Microsoft Outlook VBA Programming 3 12th Mar 2009 10:03 PM
Empty UserProperties and PropertyAccessor Jeff Microsoft Outlook Program Addins 9 14th Jan 2008 09:37 PM
Can I use PropertyAccessor in Outlook 2007 to add x-headers? Jeff Graves Microsoft Outlook Program Addins 2 5th Apr 2007 10:30 PM
PropertyAccessor.GetProperty Peter Marchert Microsoft Outlook VBA Programming 4 10th Jan 2007 09:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:43 AM.