|
-
Sep 27th, 2005, 12:23 AM
#1
Thread Starter
Addicted Member
Search like in windows
Hi,
i want to make an remote data extractor which can connect to a remote pc, find all exel or word files and retreive them, the problem is i dont know how to build a search engine to find the files, a search like in "Start -> Search" would be nice. Anyway, maybe someone has some usefull code for this project?
Thanks
-
Sep 27th, 2005, 12:47 AM
#2
Re: Search like in windows
The only simple way is to do a recursive search through the file system for files with the desired extension(s). Anything else would require indexing all the files on the hard drive prior to the search being conducted.
-
Sep 27th, 2005, 12:58 AM
#3
Re: Search like in windows
There is a nice codebank example by <ABX about recursive file search
http://www.vbforums.com/showthread.p...ht=file+search
-
Sep 27th, 2005, 11:47 AM
#4
Thread Starter
Addicted Member
Re: Search like in windows
Thx for the link Phill, just one question, if i want to find all the files in the folder or subfolders what do i write instead of the files extension?
-
Sep 27th, 2005, 04:21 PM
#5
Re: Search like in windows
Man, I did a project using a recursive function that lists every file on a computer's hard drive along with other things, could easily be modified to list only certain extensions... problem is... the code is long gone in reformatville... it was pretty nifty.. maybe i'll try to work something out....
-
Sep 27th, 2005, 04:25 PM
#6
Re: Search like in windows
Well would you lookey here... check this thread...
http://www.vbforums.com/showthread.php?t=341919
-
Sep 27th, 2005, 04:29 PM
#7
Re: Search like in windows
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|