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 » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

get formatted text in appointmentItem's body



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 13th 09, 06:57 AM posted to microsoft.public.outlook.program_forms
sd[_2_]
external usenet poster
 
Posts: 69
Default get formatted text in appointmentItem's body

hello

I've customized appointment form for outlook 2003 & 2007.
Is there any way to get formatted text in appointmentItem's body ?
I need to retrieve it, modify it & again set this modified formatted
text to appointmentItem Body.There is no HTMLBody/RTFBody property
like mailItem to appointmentItem.
I found Inspector.HtmlEditor ,but it is set to null.Can it be
helpful ? How to use it?
Thanks
  #2  
Old February 13th 09, 03:53 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default get formatted text in appointmentItem's body

If you use a different API such as Extended MAPI (C++ or Delphi only), CDO
1.21 (deprecated and only unmanaged code) or a MAPI COM wrapper such as
Redemption (www.dimastr.com/redemption) you can use the PR_RTF_COMPRESSED
property (0x10090102 or in DASL syntax
"http://schemas.microsoft.com/mapi/proptag/0x10090102") you can set the
desired RTF.

In Outlook 2007 you can use PropertyAccessor to work with that property.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"sd" wrote in message
...
hello

I've customized appointment form for outlook 2003 & 2007.
Is there any way to get formatted text in appointmentItem's body ?
I need to retrieve it, modify it & again set this modified formatted
text to appointmentItem Body.There is no HTMLBody/RTFBody property
like mailItem to appointmentItem.
I found Inspector.HtmlEditor ,but it is set to null.Can it be
helpful ? How to use it?
Thanks


  #3  
Old February 13th 09, 05:06 PM posted to microsoft.public.outlook.program_forms
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default get formatted text in appointmentItem's body

Note that simply reading the context of the PR_RTF_COMPRESSED property won't
help you much since the RTF stream is compressed.
On the MAPI level, that means that you need to use the
WrapCompressedRTFStream() MAPI function.
Redemption exposes the RTF body through the Safe*Item.RtfBody and
RDOMail.RtfBody properties.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Ken Slovak - [MVP - Outlook]" wrote in message
...
If you use a different API such as Extended MAPI (C++ or Delphi only), CDO
1.21 (deprecated and only unmanaged code) or a MAPI COM wrapper such as
Redemption (www.dimastr.com/redemption) you can use the PR_RTF_COMPRESSED
property (0x10090102 or in DASL syntax
"http://schemas.microsoft.com/mapi/proptag/0x10090102") you can set the
desired RTF.

In Outlook 2007 you can use PropertyAccessor to work with that property.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"sd" wrote in message
...
hello

I've customized appointment form for outlook 2003 & 2007.
Is there any way to get formatted text in appointmentItem's body ?
I need to retrieve it, modify it & again set this modified formatted
text to appointmentItem Body.There is no HTMLBody/RTFBody property
like mailItem to appointmentItem.
I found Inspector.HtmlEditor ,but it is set to null.Can it be
helpful ? How to use it?
Thanks




  #4  
Old February 17th 09, 12:57 PM posted to microsoft.public.outlook.program_forms
sd[_2_]
external usenet poster
 
Posts: 69
Default get formatted text in appointmentItem's body

Thanks Ken & Dmitry
 




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
Add text to body Lp12 Outlook and VBA 3 September 24th 08 07:56 PM
append formatted text to postitem's body sd[_2_] Add-ins for Outlook 5 September 19th 08 01:59 PM
How do I use formatted text from word document in email body duckfeeder Outlook and VBA 7 June 17th 08 12:47 AM
Cannot see text in email body Kevin Outlook Express 2 October 13th 07 06:42 AM
Moving HTML-formatted messages to PST strips body of message Scotty Outlook - General Queries 0 February 8th 07 08:43 PM


All times are GMT +1. The time now is 07:55 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.