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

Formatted Text (Using HTML) in Appointment



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 5th 10, 05:51 AM posted to microsoft.public.outlook.program_forms
Parwej Ahamad
external usenet poster
 
Posts: 1
Default 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).


Ads
  #2  
Old February 5th 10, 03:22 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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).



 




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
HTML Appointment Requests are being converted to Text Jessica Outlook - Calandaring 1 August 14th 09 09:32 PM
Popup Outlook with html formatted message Flyfish Outlook - General Queries 0 July 9th 09 03:16 PM
get formatted text in appointmentItem's body sd[_2_] Outlook - Using Forms 3 February 17th 09 01:57 PM
Moving HTML-formatted messages to PST strips body of message Scotty Outlook - General Queries 0 February 8th 07 09:43 PM
why is my incoming e-mail formatted as an HTML attachment? alphajanice Outlook - General Queries 0 April 2nd 06 11:12 PM


All times are GMT +1. The time now is 01:09 PM.


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.