Solved

Accessing the Windows Search from VB

Posted on 2003-10-22
5
398 Views
Last Modified: 2006-11-17
Anyone have a code sample of calling the windows search function from VB?

This would be the same as clicking START/FIND/FILES and FOLDERS, typing in the search criteria and clicking the SEARCH button.

Basically I want the user to be able to type in some text in a box and when they click search, my program would launch the search function as if the user did all the steps listed above. I would provide the start path and pass along the information the user typed in.

The other solution would be for me to just walk down the directory tree myself in the code but since I don't actually do anything after the search I am thinking calling the windows search would be a better solution.
0
Comment
Question by:schworak
  • 2
  • 2
5 Comments
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 250 total points
ID: 9602496
Please, delete this and use Reload This question Link instead of push Refresh button from your browser, it submmit the data again.
Cheers
0
 

Expert Comment

by:fishage
ID: 9617116
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9617398
The real thread is another Q. This is a duplicate one.
0
 

Expert Comment

by:fishage
ID: 9617719
Sorry, didn't notice that.  Looks like we both found the same place though.
0
 
LVL 27

Expert Comment

by:planocz
ID: 10154725
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
No response from schworak from 10/24/2003 comment
Award points to fishage is recommend.
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

planocz
EE Cleanup Volunteer
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA saving file message display 5 73
Copy a row 12 64
Collapse and expand table in Word 2010 2 39
add criteria to query in VB, Access 2003 2 10
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question