NetNomad312
Technical User
I am creating a program that will call Notepad to read certain types of files. I hope to eventually have a combobox to select from several different filters, or "all filters" to show all relevant files in the FileListBox. The problem is, I cannot seem to add multiple file types to the box's Pattern property. I looked it up in the MDSN library already, and it said I had only to separate them with a semicolon, like:
"*.exe; *.bat"
This is the exact way I did it... and at runtime, the box only displays the first file type in that list. Just to be sure, I also tried adding this line to Form_Load:
FileList.Pattern = "*.fs; *.lmp"
No effect. Is there a typo in the library entry? What is the correct way to do this?
"*.exe; *.bat"
This is the exact way I did it... and at runtime, the box only displays the first file type in that list. Just to be sure, I also tried adding this line to Form_Load:
FileList.Pattern = "*.fs; *.lmp"
No effect. Is there a typo in the library entry? What is the correct way to do this?