OpenDialog Filter

Cableguy

Expert
Licensed User
Hi,

I tryed this code line and it doesn't work as I planned

open1.Filter = "ImageFiles|*.jpg,*.gif,*.png"

It only show "Images files" but no extensions AND NO FILES even in a folder that I known has them...
How to set multiple extensions?
 

Cableguy

Expert
Licensed User
Never Mind...
I just noticed that I entered a "," when I should have entered a ";"....Newbie mistake :sign0161: :sign0013:

BTW: How can I filter Directories?
 
Last edited:
Top