Solved

RTF Question

Posted on 2003-11-04
5
196 Views
Last Modified: 2010-04-16
I have a RichTextBox. When the user types in a certain word such as "hello" I want the font color of that word to chance to another color like blue. This is like syntax highlighting in Visual Studio .Net and other development enviroments. Ive tried to do this but cannot find an answer. Please help me.
0
Comment
Question by:GoRgOn
5 Comments
 
LVL 2

Expert Comment

by:smitty22
ID: 9682726
0
 

Author Comment

by:GoRgOn
ID: 9683051
i tried it but it doesn't even work.

Any other suggestions?
0
 
LVL 19

Accepted Solution

by:
Desp earned 125 total points
ID: 9684187
Did you check both part I and II??

Syntax Highlighting in RichTextBox Control - Part 1
http://www.c-sharpcorner.com/Code/2003/June/SyntaxHighlightInRichTextBoxP1.asp

Syntax Highlighting in RichTextBox Control - Part II
http://www.c-sharpcorner.com/Code/2003/June/SyntaxHighlightInRichTextBoxP2.asp
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question