Solved

Searching for multiple file types

Posted on 2001-06-16
5
156 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 50 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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 …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
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…

726 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