Windows Index Search Sample
This sample demonstrates how to use the Windows Desktop Search functionality.
To build the sample
Run MSBuild from the sample root directory or open the Windows Index Search Sample solution in Visual Studio and build the solution.
To run the sample
From the bin folder of the sample root directory run WinFormsSearchApp.exe.
Creating a new query:
Select a sample query from the Query drop-down list.
Click the 'Save' button to save the contents of the query to the user.config file. See the Comments section for more information about the user.config file.
Click the 'Run' button to execute the query. The results will be shown on the 'Results' tab.
Adding additional query parameters:
From the 'Properties' tab select a scope from the drop-down list.
Position the cursor in the Query text box at the desired insertion point.
Check one or more properties and click the insert button. Properties will be inserted and separated by commas. Selected text in the query text box will be replaced.
Insert a single property by double-clicking on the property item.