lazlo Level: Protégé
 Registered: 14-01-2006 Posts: 8
|
Changing color of text
I hope I posted this question in the right topic.
I am a new user to Visual Basic 6 and I have a question that I cannot seem to find the answer.
In my program I have a form with a richtextbox.
And in this richTextBox is a paragraph of double-digit numbers.
My question is: how do I search the richTextBox and change the numbers that match, to a different color?
For example, if the richTextBox contained:
87 46 98 34 69 01 84 39 99
44 01 54 59 18 21 47 76 01
77 52 01 40 37 29 48 60 01
If I was searching for "01" How do I change the 01's in the box to a red color?
|