B
bart plessers
Hello,
I am developping a file browser bu use of internet explorer.
I am already so far that I get a full list of all the files of a selected
directory.
However, I only want to display certain files, i.e. pictures: jpg, gif, png,
tiff, etc...
So I want to set up a main variable, containing this "filter"
Now for every listed file, I want to check if its extension is listed in the
filter.
How can I achieve this without having an if-then for every extension?
tia
bartp
--
==========================================
Hyper A.R.T.
bart plessers
Paul Van Ostaijenlaan 4
3001 Heverlee
BELGIUM
tel: +32 (16) 23.40.85
fax: +32 (16) 23.41.06
==========================================
I am developping a file browser bu use of internet explorer.
I am already so far that I get a full list of all the files of a selected
directory.
However, I only want to display certain files, i.e. pictures: jpg, gif, png,
tiff, etc...
So I want to set up a main variable, containing this "filter"
Now for every listed file, I want to check if its extension is listed in the
filter.
How can I achieve this without having an if-then for every extension?
tia
bartp
--
==========================================
Hyper A.R.T.
bart plessers
Paul Van Ostaijenlaan 4
3001 Heverlee
BELGIUM
tel: +32 (16) 23.40.85
fax: +32 (16) 23.41.06
==========================================