Solved

Searching for multiple file types

Posted on 2001-06-16
5
150 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 50 total points
Comment Utility
*.mp3;*.rmx
0
 
LVL 5

Expert Comment

by:gwgaw
Comment Utility
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
Comment Utility
gwgaw,

You know your code looks familiar:)
0
 

Expert Comment

by:SledgY
Comment Utility
So would everyones =oP
0
 
LVL 8

Expert Comment

by:glass_cookie
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Vb.net Listview 9 76
Problem to delete range 4 54
change vba from autofit to 13.5 width? 4 27
Visual Studio 2005 text editor 10 18
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now