Click here to Skip to main content
15,892,839 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
pls,help to get and highlight a word in textbox , with example by vb !!!
Posted
Comments
Just eg 4-Mar-13 5:37am    
get highlightedtext
TextBox1.SelectedText

1 solution

Take a look: How to Highlight Text in a Text Box in VB.NET

VB
TextBox1.SelectionStart = 0
TextBox1.SelectionLength = TextBox1.Text.Length
 
Share this answer
 
v2
Comments
Maciej Los 3-Mar-13 9:39am    
Nice ;)
+5!

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