Solved

Searching for multiple file types

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

730 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