Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching text in documents
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00664899
Message ID:
00664924
Views:
20
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform