Click here to Skip to main content
15,915,093 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem with String.Replace() Pin
Gump61923-Aug-07 7:14
Gump61923-Aug-07 7:14 
GeneralRe: Problem with String.Replace() Pin
Judah Gabriel Himango23-Aug-07 8:00
sponsorJudah Gabriel Himango23-Aug-07 8:00 
GeneralRe: Problem with String.Replace() Pin
Gump61923-Aug-07 8:08
Gump61923-Aug-07 8:08 
AnswerRe: Problem with String.Replace() Pin
Chase Davis23-Aug-07 7:08
Chase Davis23-Aug-07 7:08 
GeneralRe: Problem with String.Replace() Pin
Gump61923-Aug-07 7:16
Gump61923-Aug-07 7:16 
Questionregistry - create printer - redirect port Pin
HarryFlodder23-Aug-07 4:58
HarryFlodder23-Aug-07 4:58 
QuestionRichTextBox Formatting Help Pin
solutionsville23-Aug-07 3:46
solutionsville23-Aug-07 3:46 
AnswerRe: RichTextBox Formatting Help Pin
mav.northwind23-Aug-07 4:04
mav.northwind23-Aug-07 4:04 
Hi!
Although I cannot really follow what you're trying to do, it seems as if a different way would be much easier:
Create a (invisible) RichTextBox, load the RTF document into this box, find the lines you want to colorize using the Text property of the RTB, select them and then assign the SelectionColor you want.

Afterwards you can simply assign the invisible RTB's Rtf property to the target RTB and you're done.

If you really want to modify the RichText yourself, I suggest reading the Rich Text Format (RTF) Specification, version 1.6[^], but a quick scan through the introduction will show you that it's not as easy as you might think.


Regards,
mav

--
Black holes are the places where God divided by 0...

AnswerRe: RichTextBox Formatting Help Pin
solutionsville23-Aug-07 4:32
solutionsville23-Aug-07 4:32 
AnswerRe: RichTextBox Formatting Help Pin
Big Daddy Farang23-Aug-07 7:35
Big Daddy Farang23-Aug-07 7:35 
AnswerRe: RichTextBox Formatting Help Pin
solutionsville23-Aug-07 7:44
solutionsville23-Aug-07 7:44 
QuestionUser credentials cannot be used for local connections Pin
abhishek.mumbai23-Aug-07 3:41
abhishek.mumbai23-Aug-07 3:41 
AnswerRe: User credentials cannot be used for local connections Pin
SfBf2-Nov-09 16:47
SfBf2-Nov-09 16:47 
QuestionVS 2003 to VS 2005 migration problems Pin
Abhi Lahare23-Aug-07 3:38
Abhi Lahare23-Aug-07 3:38 
AnswerRe: VS 2003 to VS 2005 migration problems Pin
Paul Conrad26-Aug-07 9:23
professionalPaul Conrad26-Aug-07 9:23 
QuestionString Formate Pin
Thaer Hamael23-Aug-07 3:27
Thaer Hamael23-Aug-07 3:27 
AnswerRe: String Formate Pin
snorkie23-Aug-07 3:40
professionalsnorkie23-Aug-07 3:40 
GeneralRe: String Formate Pin
Keith Barrow23-Aug-07 3:52
professionalKeith Barrow23-Aug-07 3:52 
GeneralRe: String Formate Pin
DavidNohejl23-Aug-07 4:07
DavidNohejl23-Aug-07 4:07 
AnswerRe: String Formate Pin
Keith Barrow23-Aug-07 3:44
professionalKeith Barrow23-Aug-07 3:44 
AnswerRe: String Formate Pin
Martin#23-Aug-07 4:00
Martin#23-Aug-07 4:00 
AnswerRe: String Formate Pin
CCosgrove8123-Aug-07 7:08
CCosgrove8123-Aug-07 7:08 
QuestionAbout Httpwebrequst & response Pin
Dipti D Jadhav23-Aug-07 2:56
Dipti D Jadhav23-Aug-07 2:56 
QuestionGive me an idea about image processing Pin
greekius23-Aug-07 2:53
greekius23-Aug-07 2:53 
AnswerRe: Give me an idea about image processing Pin
Keith Barrow23-Aug-07 3:15
professionalKeith Barrow23-Aug-07 3:15 

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.