Answered by:
Using the Windows Search Engine through Managed Application

Question
-
Hi,
I'd like to code an app which provides a search option in the files and directories tree. Are there any .NET classes which do the job?
In addition, I'd like to filter, somehow, the files in the files tree into categories. (Just like the way we attach "tags" to the posts, then filter them accordingly)
It is quite urgent, any idea would be appreciated
ThanksThursday, November 5, 2009 3:08 PM
Answers
-
Hi,
You might try the WSSQL sample here:
http://msdn.microsoft.com/en-us/library/dd940343(VS.85).aspx
This shows how to make direct queries against windows search from managed code.
You can also try the Windows API codepack:
http://code.msdn.microsoft.com/WindowsAPICodePack
Using this you can interact with windows search through managed wrappers around the windows shell APIs.
Thanks,
Phil- Proposed as answer by Andrei Aron MS Tuesday, November 17, 2009 9:06 PM
- Marked as answer by miridfd Wednesday, November 18, 2009 7:00 AM
Wednesday, November 11, 2009 1:03 AM
All replies
-
Anybody??
It's really urgent
Thanks in advance,Sunday, November 8, 2009 12:09 PM -
Hi,
You might try the WSSQL sample here:
http://msdn.microsoft.com/en-us/library/dd940343(VS.85).aspx
This shows how to make direct queries against windows search from managed code.
You can also try the Windows API codepack:
http://code.msdn.microsoft.com/WindowsAPICodePack
Using this you can interact with windows search through managed wrappers around the windows shell APIs.
Thanks,
Phil- Proposed as answer by Andrei Aron MS Tuesday, November 17, 2009 9:06 PM
- Marked as answer by miridfd Wednesday, November 18, 2009 7:00 AM
Wednesday, November 11, 2009 1:03 AM -
Hi,
You might try the WSSQL sample here:
http://msdn.microsoft.com/en-us/library/dd940343(VS.85).aspx
This shows how to make direct queries against windows search from managed code.
You can also try the Windows API codepack:
http://code.msdn.microsoft.com/WindowsAPICodePack
Using this you can interact with windows search through managed wrappers around the windows shell APIs.
Thanks,
Phil
Hi, you can try Windows API to realize the function.Monday, July 12, 2010 10:17 AM