UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
July
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Sponsored Links
Latest Postings
Latest Reviews
Topic Options
Rate This Topic
#17596 - 07/05/02 07:06 PM Filelistbox Patterns
olosoft Offline
Member

Registered: 03/02/02
Posts: 143
Loc: .
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...

Top
Sponsored Links
      
#17597 - 07/07/02 12:55 PM Re: Filelistbox Patterns
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: 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

Top
#17598 - 07/07/02 05:35 PM Re: Filelistbox Patterns
olosoft Offline
Member

Registered: 03/02/02
Posts: 143
Loc: .
ahhh, see i was putting a space between the ; and the *, guess it makes a difference, works now, thanks.

Top

Featured Member
Registered: 03/05/02
Posts: 9
Forum Stats
2145 Members
46 Forums
33155 Topics
68322 Posts

Max Online: 1567 @ 04/25/10 10:20 AM
Top Posters
UGN Security 26318
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Jimmie Menon, fghijk435948, Devo60, ali, lavos
2147 Registered Users
Who's Online
0 registered (), 707 Guests and 366 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!