B
Brad Allison
Hi,
I guess I am not understanding something and I have been searching Help in
VB, newgroups, etc.
I have a simple application that contains just over 300 rich text files
(these are breed standards for purebred dogs). The user selects the breed
from a Tree View and based on this selection, the appropriate rtf file is
opened in a different form containing the rich text box control. All of
this works so here comes my dilemma...
I want to user to have the capality to search the opened file using a
keyword or words and the rtf to highlight and go right to the found text. I
know enough to use rtf.find(), but this returns an integer and from there I
do not know where to go.
The next thing I want to do is have the capability to find all files that
contain the specific keyword. I would imagine that I have to open each file
(one at a time) into a streamreader and do a search from there. If the
keyword is found then I can add that file to a listbox.
Thank you for any useful information.
Brad
I guess I am not understanding something and I have been searching Help in
VB, newgroups, etc.
I have a simple application that contains just over 300 rich text files
(these are breed standards for purebred dogs). The user selects the breed
from a Tree View and based on this selection, the appropriate rtf file is
opened in a different form containing the rich text box control. All of
this works so here comes my dilemma...
I want to user to have the capality to search the opened file using a
keyword or words and the rtf to highlight and go right to the found text. I
know enough to use rtf.find(), but this returns an integer and from there I
do not know where to go.
The next thing I want to do is have the capability to find all files that
contain the specific keyword. I would imagine that I have to open each file
(one at a time) into a streamreader and do a search from there. If the
keyword is found then I can add that file to a listbox.
Thank you for any useful information.
Brad