Click here to Skip to main content
16,006,378 members
Home / Discussions / C#
   

C#

 
QuestionRun Once and accept parameters Pin
Christopher Thornburg2-Mar-07 9:42
Christopher Thornburg2-Mar-07 9:42 
AnswerRe: Run Once and accept parameters Pin
Luc Pattyn2-Mar-07 10:35
sitebuilderLuc Pattyn2-Mar-07 10:35 
QuestionHow can I set the Maximum Working Area [modified] Pin
Khoramdin2-Mar-07 8:54
Khoramdin2-Mar-07 8:54 
AnswerRe: How can I set the Maximum Working Area Pin
Chris Buckett2-Mar-07 10:02
Chris Buckett2-Mar-07 10:02 
QuestionHow to display the HTML content from XML in winforms [modified] Pin
engsrini2-Mar-07 8:39
engsrini2-Mar-07 8:39 
AnswerRe: How to display the HTML content from XML in winforms Pin
Edmundisme2-Mar-07 9:20
Edmundisme2-Mar-07 9:20 
GeneralRe: How to display the HTML content from XML in winforms Pin
engsrini2-Mar-07 10:38
engsrini2-Mar-07 10:38 
GeneralRe: How to display the HTML content from XML in winforms Pin
Edmundisme2-Mar-07 11:29
Edmundisme2-Mar-07 11:29 
The RichTextBox control does not support HTML formatting. In order to display the formatted text, you need to convert the HTML to RTF, then set the RichTextBox.Rtf property to the converted text. The slick way to do it would be to create your own ICustomFormatter object that converts HTML markup to RTF, then pass it, along with your HTML string to StringBuilder.AppendFormat.

I don't know of any other way to tackle this problem. I'm sure there is a myriad of conversion tools out there and quite possibly an article or two on that topic on CP.

Sorry I don't have a better solution. Perhaps someone else does?

Ian
GeneralRe: How to display the HTML content from XML in winforms Pin
theomed2-Mar-07 19:17
theomed2-Mar-07 19:17 
QuestionHow to add values of generic type T Pin
Marc Clifton2-Mar-07 7:57
mvaMarc Clifton2-Mar-07 7:57 
AnswerRe: How to add values of generic type T Pin
Guffa2-Mar-07 8:23
Guffa2-Mar-07 8:23 
GeneralRe: How to add values of generic type T Pin
Marc Clifton2-Mar-07 8:55
mvaMarc Clifton2-Mar-07 8:55 
GeneralRe: How to add values of generic type T Pin
Andrew Rissing2-Mar-07 9:11
Andrew Rissing2-Mar-07 9:11 
GeneralRe: How to add values of generic type T Pin
Marc Clifton2-Mar-07 9:36
mvaMarc Clifton2-Mar-07 9:36 
AnswerRe: How to add values of generic type T Pin
Insincere Dave2-Mar-07 9:12
Insincere Dave2-Mar-07 9:12 
GeneralRe: How to add values of generic type T Pin
Marc Clifton2-Mar-07 9:34
mvaMarc Clifton2-Mar-07 9:34 
QuestionHow to work with Double Buffering C# Pin
laura13162-Mar-07 7:57
laura13162-Mar-07 7:57 
AnswerRe: How to work with Double Buffering C# Pin
Dave Kreskowiak2-Mar-07 8:06
mveDave Kreskowiak2-Mar-07 8:06 
AnswerRe: How to work with Double Buffering C# Pin
Luc Pattyn2-Mar-07 9:41
sitebuilderLuc Pattyn2-Mar-07 9:41 
AnswerRe: How to work with Double Buffering C# Pin
Patrick Etc.2-Mar-07 10:13
Patrick Etc.2-Mar-07 10:13 
QuestionTimers in Online Exams Pin
archu12-Mar-07 7:05
archu12-Mar-07 7:05 
AnswerRe: Timers in Online Exams Pin
Parwej Ahamad2-Mar-07 7:21
professionalParwej Ahamad2-Mar-07 7:21 
QuestionCAN ANY BODY ANSWER TO QUESTION/!!!!!???? Pin
conemajstor2-Mar-07 4:48
conemajstor2-Mar-07 4:48 
AnswerRe: CAN ANY BODY ANSWER TO QUESTION/!!!!!???? Pin
Colin Angus Mackay2-Mar-07 5:21
Colin Angus Mackay2-Mar-07 5:21 
AnswerRe: CAN ANY BODY ANSWER TO QUESTION/!!!!!???? Pin
Dave Kreskowiak2-Mar-07 6:16
mveDave Kreskowiak2-Mar-07 6:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.