7
Contributors
16
Replies
19
Views
8 Years
Discussion Span
Last Post by SCBWV
0

so what have you tried so far for this?

I haven't tried to imlement the idea yet, I'm just looking for a pointer into what would be the best method to do this, then I'll give it a go. Any help would be greatly appreciated.

0

Ok so with this I have tried a few things. I've done a check for filenames and folders to see if they exist and if they do then I add them to a listbox, click on the item in the list and it will open. This seems to work but it seems kind of cumbersome and loop heavy. There has to be a better implementation. Any ideas?

0

I'm just looking for an effecient approach at creating a search tool for finding files. I've got a working model but it's too slow. There must be a better way to do it. So I'm just looking for a different approach to the one I mentioned in an earlier post.
If anyone has any ideas, then feel free to chime in.

0

Thanks for that code, I'm having a look at it to see how it works. Seems very suitable to wat I'm looking at. all I have to do is tweak it and add a few little things to it.

0

But I CAN NOT find a folder with this engine....Has somebody a code to find folders too??

0

check out this code...
hope u'll get ur answer

give me feedback if this helps u...

regards
SHouvik

Well, I've runned the .exe, but I couldn't find any folder...

I need to find a folder that I don't know where it is (for example, the user wants to find the folder SYSTEM32, but he doesn't know where this folder is...Then, he just does put "systen32" in a textbox and clicks in an OK button...It should work like the windows search..)

Thanks everybody...

0

check out this code...
hope u'll get ur answer

give me feedback if this helps u...

regards
SHouvik

Man, this program does not find folders...I need a code to search a folder in somewhere idk....For example, the user needs to find the folder "Program Files", but he doesn't know where it is...The program should work like the windows search...

Thank you very much...

0

I'm doing the same thing- but checking to see if the game file directory has installed- though, i'm not sure which drive the user has installed it, if they installed it earlier on. Not quite to sure how to implement that.

Though, for your case, you could try the 'My.Computer.FileSystem.DirectoryExists' function. Not sure if that's what you want though.

Also, just found this page- give it a try:

http://support.microsoft.com/default.aspx?scid=KB;EN-US;306666

Edited by JewCrew: n/a

0

Efficient search routine using Windows API or built-in Visual Basic functions - http://support.microsoft.com/kb/185476

My VB5 Desktop search needed to auto-catalogue for pictures and music. To do that I needed to look at all the folders on a drive. As a spin of of that function I created a Directory.txt output file containing all the file types and their folders along with the date changed. I'm not sure where I found that code but could post it for you. My search had the option of "d" to search and display anything with today's date.

This article has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.