Is there a way to make the FileListBox control show all files except certain ones? For instance, I would like a FileListBox to show every file in the path except .jpg files. Is this possible?
Printable View
Is there a way to make the FileListBox control show all files except certain ones? For instance, I would like a FileListBox to show every file in the path except .jpg files. Is this possible?
Not that I am aware of. You can specify more than one pattern but I know of no exclude pattern methods.
You could use a list box and populate it yourself easy enough, including or excluding anything you want
You can fake it with 2 controls: 1 FileListBox, 1 ListBox
- FileListbox invisible
- ListBox visible
Loop thru the filelistbox and add just the ones you want to the listbox