On Mon, 06 Jun 2005 01:54:21 -0700, rahul samant via .NET 247
<an*******@dotnet247.com> wrote:
I am looking for a code in vb.net to search in pdf , ppt and doc files.please help.
I don't believe there's any particular .net code for what you're
asking.
You can do some file streaming, but that will also return all
information about formatting etc. Don't think that is what you're
looking for.
Secondly you could invoke the Word API, that is an open instance of
word where you search the document. This will work for few documents.
If you have a lot it will be a pain in the butt.
Thirdly you could use MS-SQL to full-text index your documents. I've
done it myself, giving me an average seek time around 2 seconds
searching 15.000+ documents.
However, this works for MS documents only, not for PDF. Don't know if
there is an API you can use for that purpose, using the professional
buyware version.
Regards /Snedker