• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 590
  • Last Modified:

Using CDO to create an RTF message

I am using CDO in VB to create a message that a user can edit before it is sent. The user requires the message to be in rich text format. I am currently using the mapirtf.dll but someone told me there is a cleaner way of doing this in the code. Possibly a property of the message? Thanks!
0
susantrider
Asked:
susantrider
1 Solution
 
MattiCommented:
Hi!

Use MS RTF control (Richtx32.ocx)
And it's  textRTF properity.

http://support.microsoft.com/support/kb/articles/Q172/0/38.ASP

To Apply it:
In this sample the cRTF variable =
RichTextBox1.textRTF

About the cleaner:
Are you looking a replacemet for MAPI?
 
Matti
0
 
susantriderAuthor Commented:
Thank you Matti. I added the MS RTF control and my app is working.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now