I am converting a vb6 program to vb.net and am having a problem with the richtextbox control contained in the program.
In vb6, the user can enter text into a richtextbox and then highlight different characters. During a pricing routine, this allows the calculation to distinguish between two different "types" of characters.
In vb6, this was the code:
txtCopy.SelStart = Y - 1
txtCopy.SelLength = 1
If txtCopy.SelColor = RGB(255, 0, 0) Then...
In vb.net, I changed selstart to selectionstart and sellength to selectionlength. I cannot find any replacement for selcolor that works with trying to capture the color of a character.