Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

index words in a rich edit document by number

Posted on 2008-06-18
4
Medium Priority
?
227 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
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…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

609 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