[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

RichTextBox

Posted on 2004-04-05
1
Medium Priority
?
422 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
Arrummzen earned 200 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

656 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