×
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!
  • Students Click Here

*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.

Students Click Here

Jobs

Finding File Types Using Filesystem's Findfirst & FindNext Methods

Finding File Types Using Filesystem's Findfirst & FindNext Methods

Finding File Types Using Filesystem's Findfirst & FindNext Methods

(OP)
Hi All,
I'm Using Corel Paradox 9 under Windows 7 x64

I have Created a FileLister App which allows me to Select a Directory (FileBrowserEx) and iterate
through all sub Directories to find the files defined in the Filespec (File type Search Pattern) and add them
to a table.

The only problem I Have is, I can only get it to work with one Filetype at a time - eg *.mov"!

If I try setting the filespec to say "*.mov, *.Flv, *.mp4" etc - It finds Nothing (there is files in the specified Dir with these file extension's)! I have also tried to Pass "*.Mov; *.Flv; *.mp4" & "*.mov|*.flv" etc etc.

I can get by using *.* and deleting the unwanted Names & path's etc, but surely there is away to specify a search pattern with more than one file type - eg Filebrowser Constants allow fbGraphics Constant with 3 or 4
file extension's.

Would love to hear from anyone with a solution and thanks in advance

PDX79


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!

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