Solved

index words in a rich edit document by number

Posted on 2008-06-18
4
224 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

738 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