e72b51c5_Basic_NET_Examples_02_03_05_08__1
[0] Getting Line Information in Textbox Control [2] Click Here [3] Click Here [1] 
This example shows how to get the current line number in VB.NET 2002/2003, getting the text at the current line position and also getting the total number of lines currently in the textbox control. Getting the current line # code is for VB.NET because those versions does not have built-in support like the VB 2005/2008 Textbox versions. Otherwise, the rest of the codes is efficient with VB 05/08 as well.
Visual Basic Code Source - Visual Basic.NET Examples 02/03/05/08
1