Solved

RichTextBox

Posted on 2004-04-05
1
409 Views
Last Modified: 2008-02-01
Hi,
    Can some one tell me how i can get the HTML code for the richTextBox.
I explains you my problem i have made a form which sends email. I have add few options like change color, Bold, Heading levels etc.

Please help me how i will be abel to get HTML code from richtextBox.


Thanks in advance.
With best regards fazi
0
Comment
Question by:mfazi
1 Comment
 
LVL 1

Accepted Solution

by:
Arrummzen earned 50 total points
ID: 10755476
By deffinition doesn't a RichTextBox use Rich Text Format, not Hyper Text Markup Language?

You could use a AxSHDocVw.AxWebBrowser control, and then set the contents using -
mshtml.IHTMLDocument2 myDoc = (mshtml.IHTMLDocument2)myRendering.Document;
myDoc.body.innerHTML = "test"; // Your HTML

Thank you for your time,
Arrummzen
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Article by: Ivo
Anonymous Types in C# by Ivo Stoykov Anonymous Types are useful when  we do not need to follow usual work-flow -- creating object of some type, assign some read-only values and then doing something with them. Instead we can encapsulate this read…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now