Your browser does not seem to support CSS. If images appear below, please disregard them.
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#17596 - 07/05/02 06:06 PM Filelistbox Patterns  
Joined: Mar 2002
Posts: 143
olosoft Offline
Member
olosoft  Offline
Member

Joined: Mar 2002
Posts: 143
.
im writing a little program that is autoexecuted when a cd is put in the drive and its supposed to automatically launch the movie thats on the cd. and i have it all done and working nice. but i want to make the program more generic, so i dont have to have a different version for .avi, .mpg, .mpeg, etc.

so my question is, is there any way to have multiple patterns for a filelistbox? i tried separating the patterns with commas and semicolons to no avail...

Sponsored Links
#17597 - 07/07/02 11:55 AM Re: Filelistbox Patterns  
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage  Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
I started a new project and placed a file list box on my form. It immediately displayed all the files in the VB executeable directory. I then replaced the Pattern property "*.*" to "*.dll;*.exe"

It displayed only dll's and exe's...

So a semicolon is what you need. Dunno why it didn't work for ya before.


Domain Registration, Hosting, Management
http://www.dollardns.net
#17598 - 07/07/02 04:35 PM Re: Filelistbox Patterns  
Joined: Mar 2002
Posts: 143
olosoft Offline
Member
olosoft  Offline
Member

Joined: Mar 2002
Posts: 143
.
ahhh, see i was putting a space between the ; and the *, guess it makes a difference, works now, thanks.


Member Spotlight
Gremelin
Gremelin
Portland, OR; USA
Posts: 7,195
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums45
Topics47,513
Posts82,683
Average Daily Posts8
Members2,159
Most Online1,567
Apr 25th, 2010
Latest Postings
Top Posters(All Time)
UGN Security 40,677
Gremelin 7,195
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
Ghost Likes: 1
Gremelin Likes: 4
Ice Likes: 1
unreal Likes: 1
Top Liked Users (30 Days)
No Data Found
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20160902)