?
Solved

Searching for multiple file types

Posted on 2001-06-16
5
Medium Priority
?
157 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month12 days, 11 hours left to enroll

777 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