![]() |
Formatted Text (Using HTML) in Appointment
Hi Experts,
I am using COM "Microsoft Office 12.0 Object Library" in VS2005 to add an appointment into the Calendar (Outlook version2003). I am able to add it succesfully. Bu now I would like to format the appointment body usig HTML tags so unfortunately I did not find any clue/idea how to do it? I used HTML tage but it is adding as text in appointment body. So please could asist me how to implement it and I need to support Outlook versions (2000, 2003 and 2007). |
Formatted Text (Using HTML) in Appointment
Sorry, that isn't something you can do. There is no HTMLBody in
AppointmentItem objects. The best you could do for formatted text is to use RTF (Outlook Rich Text) which would go into the MAPI property PR_RTF_COMPRESSED, which is a PT_BINARY. You'd have to force that field with the formatted RTF, something I wouldn't want to have to do, using some other lower level API such as CDO 1.21 or Extended MAPI. The Outlook object model couldn't be used if you intend to support anything under Outlook 2007. -- 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 "Parwej Ahamad" Parwej wrote in message ... Hi Experts, I am using COM "Microsoft Office 12.0 Object Library" in VS2005 to add an appointment into the Calendar (Outlook version2003). I am able to add it succesfully. Bu now I would like to format the appointment body usig HTML tags so unfortunately I did not find any clue/idea how to do it? I used HTML tage but it is adding as text in appointment body. So please could asist me how to implement it and I need to support Outlook versions (2000, 2003 and 2007). |
All times are GMT +1. The time now is 07:58 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-2006 OutlookBanter.com