Click here to Skip to main content
16,016,425 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have this vb.net 2003 which read .xml database and display the text through richtextbox.
I need to format the output in the richtextbox which comes from the .xml like whenever word like 'home' is found it should display in bold and color specific given or italic.

Is there anyway to do this?

Would be grateful if someone find me a solution for this.

Thank you.
moii
Posted
Updated 2-Sep-10 23:28pm
v2
Comments
Dalek Dave 3-Sep-10 5:31am    
Minor edit for Grammar.

Use a Foreach Word in TextString so search for it, then Split and add a formatting control of your choice, then append the next part.
 
Share this answer
 
Would be very grateful if a sample code is given.

Thanks.

Zela
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900