Hi Simon,
I think that you would either have to open each file in the directory and
read it which is probably too slow or find out where all the bits of the
file are saved on the disk and search through the data in binary format.
I did some work for a solicitor some time back. They were using a commercial
product (I can't recall the name) that did allow you to search for strings
or words or even words that were close to each other.
But the way it worked was to catalogue the words within the document into
some sort of proprietory database. It then searched the database and then
returned the document.
It took quite some time to catalog the documents, several hours but you
could append documents to the catalogue.
Doug
"simon" <si*********@stud-moderna.si> wrote in message
news:uY*************@TK2MSFTNGP11.phx.gbl...
hi,
I have the directory with files with doc or txt or similar extensions.
Now I would like to create a text search (something similar like find text
ALT+F7 in windows commander):
user inputs the word into the text box and on button click, I search all
the files in directory if the user word exists in some file.
Then I show the user file names, which include that word.
Does anybody know how to create the text search that would be fast enough?
Any example?
Thank you,
Simon