VB Syntax Coloring
Posted
by Sam Huggil
on February 7th, 2004

Requirements
This control requires the Microsoft RichTextBox control 6.0 although you could change the design to support an earlier version.
Implementation
The download comes with a full demonstration project which shows you how to change the colours (using the ChooseColour dialog).

Comments
rtb
Posted by Legacy on 04/30/2003 12:00amOriginally posted by: Sam
Excellent example.
ReplyOracle Syntax colouring inVB6
Posted by Legacy on 03/11/2003 12:00amOriginally posted by: arul
hello sir,
i am student.
i want to highlight the Oracle syntax through VB6.
So please send me the code as soon as possibles.
thank you.
yours truly,
ReplyArul
K�nnte besser sein.!
Posted by Legacy on 01/04/2003 12:00amOriginally posted by: Sinan Tuzcu
Sehr gut aber k�nnte besser sein.
ReplyThanks
Posted by Legacy on 12/29/2002 12:00amOriginally posted by: G�kşah TAŞY�REK
good idea
Replyyes I your give me the rouargh
Posted by Legacy on 09/09/2001 12:00amOriginally posted by: pekeo
ReplyThank you soooooo much!!!!!!111
Posted by Legacy on 09/07/2001 12:00amOriginally posted by: Ice6200
You are awesome. This gave me an idea for my own highlighter thing. Thanks a lot!!!!!
ReplyNeeded .DLL?
Posted by Legacy on 01/10/2000 12:00amOriginally posted by: Julian
is there any special .DLL file, needed by this .OCX?
Replyi love u
Posted by Legacy on 10/02/1999 12:00amOriginally posted by: Rohan
really cool app. , thnx a lot for it
ReplyHighlighting text by changing background color
Posted by Legacy on 06/20/1999 12:00amOriginally posted by: Jake
None of the highlighting code I've so far seen produces a highlight like Word 97 generates, that is, the background behind the text changes color to yellow. Has anyone succeeded in doing this, either in a text box or rich text box?
If I create a Word 97 document, type a few words, then highlight one word and save the document in rtf format, the resultant rtf contains "\highlight7" in front of the word. However, this is ignored by the rtf formatter in the rich text box. Any ideas why? Are there different levels of rtf?
Thanks.
Jake
Reply