Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is string in pdf\ppt
Message
 
To
28/06/2009 03:58:39
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01408857
Message ID:
01408899
Views:
51
Hi,

>I have to scan list of files (PDF And PowerPoint) and to retrieve the file\s which contain specific text.

I use MineText.EXE for this (http://text-mining-tool.com/). You can call it with RUN or ShellExecute, pass the name of the PDF file and get a pure text file. Then you can use FILETOSTR() to search inside the text file.

If you install Abobe's PDF IFilter or the free one from Foxit (http://www.foxitsoftware.com/pdf/ifilter/), you can additionally use Windows Search to search through the content of the PDF file after Windows Search Indexer has indexed the location of your PDF files. Craig Boyd has a sample on his blog how to use the search API (http://www.sweetpotatosoftware.com/SPSBlog/2008/12/08/VisualFoxProAndWindowsDesktopSearch.aspx).
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform