highlight keywords in RichTextBox
Hello, FIrst of all let me say i am new to VS so please be as simple as possible, thanks.
Second, i am working with c# so vb code will not do, i found those with google and tryed to convert them but to no good.
now for my question :
i have a RichTextBox wich i populate with text i get from a stored procedure.
i want to search this text for certian words and highlight/color them if they are found.
As i understand the RichTextBox.Find method should do the trick but it is not working for me.
should i highlight them myself?(with a function) or is it buildin in the find?
a c# example would be a great help
thanks
shay.