ok I was wondering if its possible to get the line were setLSBCookie( is at . This is my code but didnt work out

vb.net Code:
  1. i = RichTextBox1.Lines.IndexOf("setLSBCookie(")

This is my error:

Overload resolution failed because no accessible 'IndexOf' accepts this number of arguments.