?
Solved

Searching for multiple file types

Posted on 2001-06-16
5
Medium Priority
?
160 Views
Last Modified: 2010-05-02
Im am trying to search for mp3 files as well as realjukebox files which are in the form of .rmx.

I have a fileListBox, in the pattern what do i put to search for these two file types.
0
Comment
Question by:funcheon
5 Comments
 
LVL 6

Accepted Solution

by:
sharmon earned 200 total points
ID: 6198753
*.mp3;*.rmx
0
 
LVL 5

Expert Comment

by:gwgaw
ID: 6199180
Enter *.mp3;*.rmx in the pattern property in the properties
window or in code File1.Pattern = "*.mp3;*.rmx"
0
 
LVL 6

Expert Comment

by:sharmon
ID: 6199315
gwgaw,

You know your code looks familiar:)
0
 

Expert Comment

by:SledgY
ID: 6199431
So would everyones =oP
0
 
LVL 8

Expert Comment

by:glass_cookie
ID: 6200019
Hi!

Here's a link for you...

Download...
http://www.vb-helper.com/Howto/findfile.zip
Description: Search a directory for a file using a class (5K)

AND the more direct one:

Download...
http://www.vb-helper.com/Howto/findstr.zip
Description: Search files matching a pattern below a directory for a string (5K)


That's it!

glass cookie : )
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question