[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

VB.NET Find and Replace Dialog Boxes

Posted on 2006-03-29
2
Medium Priority
?
1,398 Views
Last Modified: 2011-10-03
If anyone can please help me find a good working example of how to empliment the Common dialog boxes
Find
Find and Replace
while using a Rich Text Box.

I see that the MSDN articles on Microsoft show you the steps to create this using C#, but in a very confusssing way that does not make any sense.
I have seen some example of downloadable code from ogther web sites that are pages upon pages long of code to do it, with no real structure on how to implement it.  I am sure that in the year 2006 that there has to be a real easy and short solution to this.

Does Visual Studio 2003 have these pre-built that we can just drop onto a form that maybe I just missed looking around the Add/Remove Tool Box Controls.

Thank You.
0
Comment
Question by:teamels
2 Comments
 
LVL 15

Accepted Solution

by:
Computron earned 2000 total points
ID: 16329905
See if this helps

FindReplace.msi This sample control demonstrates how to leverage the Find and Replace dialog box provided by the Windows Common Dialog. The control subclasses the dialog and exposes its features through a class library control which can be inserted into a Windows Forms project.

http://www.gotdotnet.com/team/VB/
0
 

Author Comment

by:teamels
ID: 16334887
Computron,

Thanks for the quick help.  I did see this a couple of days ago and is the one I was referring too as having pages upon pages of code.  The code in the sample project was 10x more code than my whole project, however now that you mentioned "the control can be inserted into a Windows Forms project" I took a closer look and noticed in the sample project there was a Read Me HTML file that I did not notice before and it does as you said allows you to use just the control and drop it into the Tool Box.  I completley missed this becasue I was overwhellemd at all the code that went into subclassing this control as the auther had done.

Sometimes a second look with a few words in the right directions can make a big difference.
Thank you
teamels.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Six Sigma Control Plans
Starting up a Project

864 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