Solved

RichTextBox

Posted on 2004-04-05
1
410 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

18 Experts available now in Live!

Get 1:1 Help Now