my project consist of 2 command buttons namely a search button and an open button, a textbox where users can input a search string (any string) a listbox where all the searches will be reflected on it. and when i click the open button the file selected on the listbox will be open... i want when i click the search button all that are nearest to the users input on the textbox will be on the listbox as a result... example i am looking for agenda.doc the user can just put on the textbox "agend" or "age" all nearest string on the textbox will be reflected on the listbox... (some sample project found on the web do the same things but u have to complete the whole filename name such as agenda.doc or complete the name for it which i dont like)
i am planning on the search routine that it will not only search for .doc files but i want it to search all files located on a selected drive and its subdirectories... how can i code that? please help..
how can i put a cancel "effect" while searching... i mean the user can interrupt or stop the searching process?
another thing is there a way to specifically look for one kind of a file extention(just like the process im asking above) such as only .doc files or xls file only and other file names...
(this question will be delivered after abover)
thank you and god bless...
[Edited by heltune on 10-09-2008 at 06:25 PM GMT]
10-09-2008 at 06:07 PM
|
Keithuk Level: Big Cheese Registered: 02-11-2006 Posts: 23
Re: search
Hello again heltune so you haven't done my suggestion I made on BC?
I've been programming with VB for 12 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.