Solved

index words in a rich edit document by number

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
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.
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now