that was what I was looking for!
will try it tomorrow. Maybe you can provide me with some sytax? How to build
the list? Is it just a string with all my extensions, separated by "," or
should I define some table?
Paul Van Ostaijenlaan 4
tel: +32 (16) 23.40.85
fax: +32 (16) 23.41.06
"yan Roosens" <yan.roosensskynet.be> wrote in message
news:3F245F43.918AE344skynet.be...selected> Hello Bart,
> bart plessers wrote:
>> > 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 apng,> > directory.
> > However, I only want to display certain files, i.e. pictures: jpg, gif,the> > 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 inseparator>> > filter.
> > How can I achieve this without having an if-then for every extension?
> You could build a list of the extensions you want to display, with a> (a comma should do the trick) and use Instr(the list, the file extension)