INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

New FAQ: File Searching

New FAQ: File Searching

(OP)
I have written a new FAQ on searching for files:

http://tek-tips.com/faqs.cfm?fid=7639

NOTE: This is not to search for a file by name or keyword, but instead to search for any files recursively matching certain file types.

It's a multi-threaded component which can be installed into your palette.

JD Solutions

RE: New FAQ: File Searching

(OP)
NOTE: I have tested this component, but not too extensively. I've run multiple image filters on a large directory structure of over 6,000 different images, a number of different times, and have only found very minor flaws, such as the "OnStop" event being triggered a millisecond before the very last search result. Surely this component could use some more work, but it's in a good working state as it is.

JD Solutions

RE: New FAQ: File Searching

(OP)
NOTE: I have done many modifications to this thread and I will update it as soon as I have a stable copy. I'm trying to build this thing to be universal. I now have a field for Keywords (Search String) yet it's not yet doing a very intelligent filteration of files based on the keywords.

What I will do is compare each result to the search string. I will first need to format the search string, so that the comparison can properly parse it. This consists of removing all unnecessary spaces and splitting AND and OR statements.

Many things can be done to this component, and I'm hoping someone can add more. Keep in mind I've stabilized my current version but it's too incomplete at the moment to re-post in the FAQ. Once I post the new version (along with sample implementation), I will only hope that someone will take this to another level and share it back here.

JD Solutions

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close