0

if want to change a word from the string below whats the code i should use ?

 Private Sub Button 1_Click(sender As Object, e As Event Args) Handles Button 1.Click
 text box 1.text = "How are you"
 end sub

can i change just the word (you) color to green ?

i tried this but it gives me errors

Private Sub Button 1_Click(sender As Object, e As Event Args) Handles Button 1.Click
 text box 1.text = "How are" ("you"). fore color .green
 end sub
0

1 Answer 1

2

you can do this using the control: RichTextBox

see post: https://stackoverflow.com/a/12191654/2356484

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.