Count Lines in RichTextBox


/ Published in: VB.NET
Save to your folder(s)



Copy this code and paste it in your HTML
  1. private sub countlines(byval rtb as richtextbox)
  2. dim count as string
  3. count = rtb.lines.count
  4. msgbox(count)
  5. end sub

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.