OpenDialog Filter

Cableguy

Expert
Licensed User
Longtime 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
Longtime 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:

Cableguy

Expert
Licensed User
Longtime User
Any workaround?

I need to select a directory as a "from - to" target
 

Cableguy

Expert
Licensed User
Longtime User
Thanks Erel, right on the money as usual...
 
Top