API function

  • Thread starter Thread starter martin huber
  • Start date Start date
M

martin huber

Hello,

I'm searching for an API-Function to find files. I would
like to find files with a keyword. It's like a search how
it is in Windows explorer. Right mouse-click above a
folder -> Search -> Searching in file also.

For example I would like to find all files which contains
the string "weather" (all Worddocs, Excel, ...)

I think there should be an function or how does it
Microsoft?

If there is a function, I would like to implement this in
vb.net.

Thanx for your help
 
look in the MSDN site, that certainly sounds like it would be available,
parsing the results would be the tricky part.
 
I'd assume those calls are part and parcel of the development API. Look for
something like "FindFirst" and "FindNext" which is what I'm used to in C,C++
and Delphi etc.

Once you have that list, open each file and implement your own search
algorithm examining the contents looking for what you want. (This might be
in the API also?)

..net have no use for and know little to nothing about developing under it so
....
 
Back
Top