Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Searching text in documents
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00664899
Message ID:
00664924
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>I need to set up a program to search documents (MS-Word o.a) for selected words or word combinations. Is there any general tool to index a lot of documents and on select show a abstract or a piece of the text or just open the selected document?

You can use search tools embedded into Office applications. As far as I remember there is a "Find" button on a toolbar and in "Open file" dialog.
A similar tool I have made a few years ago. The main idea was very simple:
1. Scanning selected directories and saving of Word files path and text contents into table using OLE automation (Document.Range.Text property).
2. Searching documents for words in table.
3. Opening document using ShellExecute() API function.
But it was a long ago and I haven't sources now.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform