Hi,

Well, here's another place where I'm stuck. I have gone through available documentation, samples, and experimented, yet I cannot get a RichTextBox to tell me the location of the cursor in a text or rtf file. It seems like such a simple method for VS,NET to include, that it should be such a simple thing...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
' This works to display the MOUSE position,
' but what I really want is the CARET POSITION!
Dim newCursorLocStr As String
Dim cursorLocRTBEditor As System.Drawing.Point = _
rtbEdit.Cursor.Position()
newCursorLocStr = cursorLocRTBEditor.X & ":" & _
cursorLocRTBEditor.Y
lblCursorPos.Text = newCursorLocStr

'this is the only reference to the RTB caret I can find!
'Does not return a value! It proves to me, however,
'the RTFbox actually does know what a caret is and should
'be able to deliver coordinates from it easily...
rtbEdit.ScrollToCaret()

' ScrollToCaret() Method Help Reference
' The ScrollToCaret() method scrolls contents of control until
' caret is within visibile region of control. If caret is
' positioned below visible region of control, it
' will scroll contents of control until caret is visible
' @ bottom of control. If caret is positioned above visible
' region of control, method scrolls contents of
' control until caret is visible at top of the control.
' Has no effect if control does not have focus or if
' caret is already positioned in visible region of control...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

What, do I have to write a routine that keeps track of the cursor from scratch? Am I missing something here?

Thanks, Dobe