1 Attachment(s)
Image file paterns (.bmp .jpeg .png)
Hi, I have a program that lets you browse documents to find pictures. It will show all the pictures in the folder you have currently selected, but it only seems to show .bmp images. How could I make it so it could see .jpeg .jpg and .png images types also? I have attached the form I am working with.
Re: Image file paterns (.bmp .jpeg .png)
use the Filter property of the Comman Dialog.
Filter="*.bmp | *.gif | *.jpeg | *.jpg"
Re: Image file paterns (.bmp .jpeg .png)
If you are using the FileListBox, you can accomplish this using the Pattern Property
Code:
File1.Pattern = "*.jpg; *.bmp; *.gif"