08-05-2011, 08:15 AM
Gotta say I've never heard "Googly Woogly" Used as a term before, but I know what you are getting at.
For the vertical line counter, it is very simple to code. All you need to do is setup a textbox to the left of your main richtextbox, and give it some type of code like this. (Please note, this code has not been tested)
You can obviously do more advanced things with this code, but here is the jist of it.
For the vertical line counter, it is very simple to code. All you need to do is setup a textbox to the left of your main richtextbox, and give it some type of code like this. (Please note, this code has not been tested)
Code:
Sub reLine(ByVal rtb as richtextbox)
'Where textbox1 is the textbox on the side of the TextBox1.Text = ""
Dim i As Integer = 1
Do Until TextBox1.Lines.Count = rtb.Lines.Count
TextBox1.AppendText(i.ToString + vbNewLine)
i = i + 1
Loop
End sub
You can obviously do more advanced things with this code, but here is the jist of it.