This may be an easy answer but it's just not coming to me at the moment. My program opens a file and the file does contain comments, I want to make all the text after "//" in a line green.
What I am trying to do is something like this: (It's exactly the same way for commenting in VB.Net but with ')
If rtb.contains("//") Then
'make the text after '//' green
End If