Solved

index words in a rich edit document by number

Posted on 2008-06-18
4
225 Views
Last Modified: 2012-05-05
I want to be able to load text files into a rich edit box in vba and then..
have vb.net change words to different colors progromaticly
what commands must I give to say change word number 6 red which might be for example "apple"
0
Comment
Question by:Dov_B
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 27

Expert Comment

by:planocz
ID: 21821834
Why are you doing VBA?
VB.net in richtextbox can replace that.
0
 

Author Comment

by:Dov_B
ID: 21825870
I am using vb dot net I think 2003
but I thought it only indexex characters not words does it enable you to format say word 23
0
 
LVL 27

Accepted Solution

by:
planocz earned 500 total points
ID: 21826176
I have different code that might work.
Do you have a small text file that I could use to test with?
And give me a sample of which words you are looking for or wanting to replace, etc..
0
 

Author Closing Comment

by:Dov_B
ID: 31474223
Sorry I was unable to get back to you before I am reposting this question
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

695 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