08-06-2011, 11:24 AM
Well that's strange... Make sure that on your form the RichTextBox1 is actually a richtextbox.
Attached is a project file of a sample setup using this code, hopefully it helps you.
[attachment=0]<!-- ia0 -->LineCounter.zip<!-- ia0 -->[/attachment]
Attached is a project file of a sample setup using this code, hopefully it helps you.
[attachment=0]<!-- ia0 -->LineCounter.zip<!-- ia0 -->[/attachment]