XML syntax highlighting in RichTextBox (VBRichTextBoxSyntaxHighlighting)

The Windows Forms code sample demonstrates how to highlight XML syntax in RichTextBox that loads an XML document.

VB.NET (54.9 KB)
15,072 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question

  • Namespace
    1 Posts | Last post February 05, 2013
    • Any chance this can be enhanced to work work namespaces?  As it stands, it makes a check for namespaces and explicitly bombs out if found.
  • This a great example!
    1 Posts | Last post October 22, 2012
    • Can you provide one that does the same for VB.Net code instead of XML?