06-16-2012, 08:57 PM
I don't really know what is it called, but I think its called syntax highlighting. For example if you type "if" it will become blue while the other text stays black... How to do that.
Syntax Highlighting..
|
06-16-2012, 08:57 PM
I don't really know what is it called, but I think its called syntax highlighting. For example if you type "if" it will become blue while the other text stays black... How to do that.
06-18-2012, 01:49 PM
If you use any version of Visual Basic or Visual Studio, it should automatically highlight the syntax.
Maybe you're writing the VBScript program in notepad, if so, well, it will never highlight anything.
Also known as Rocketalypse.
System.out.println("I prefer Java.");
06-18-2012, 06:00 PM
Here is a nice control that will handle that for you, if you don't want to program it yourself.
<!-- m --><a class="postlink" href="http://www.freevbcode.com/ShowCode.asp?ID=5176">http://www.freevbcode.com/ShowCode.asp?ID=5176</a><!-- m --> But if you do want to program it yourself, it should look something like this: Code: Public Sub HighlightKeyWords(ByVal rtb As RichTextBox, ByVal words As List(Of String))
06-18-2012, 06:28 PM
Thanks..
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Problem with Syntax Highlighting? | brandonio21 | 2 | 12,730 |
04-02-2011, 10:37 PM Last Post: brandonio21 |