-
I know how to use the .filter property for single extensions, but how can I make a filter with multiple extensions (like .exe, .dll at the same time with one filter)
I've tried .filter = "All supported files|*.exe,*.dll"
But this didn't work.. Anyone Ideas?
Thanks in advance!
Jop
-
Try the following format
Code:
.Filter = "Executables (*.exe)|*.exe|Com Files (*.com)|*.com"
-
I'm sorry, but I think you didn't got my point :)
I want to use both at the same time. Like winamp does when saving/opening a playlist. It uses all the available playlist extensions.
Thanks for your time anyway!
Any other people with suggestions?
-
I haven't tested it but try to separate the extensions with ;
-
Hi.
dlg.Filter="All Files(*.*)|*.*|Program Files (*.exe)|*.exe|Text Files(*.txt)|*.txt"
dlg.Flags=cdlOFNAllowMultiselect + cdlOFFileMustExist + cdlOFNExplorer + cdlOFNLongNames
-
Thanks Kendaman!
It worked..
Happy vb-ing!
Jop
-
If you want to be able to see all executable files
(like *.exe and *.com) input the following code in filters:
cmd1.Filter = "Executable files (*.exe, *.com)|.exe;*.com"
I don't know if that is what you wanted, but it might be useful.
Pentax
-
Thats Kedaman not Kendaman! Hehe, Glad you appreciate my aid
-
*OOPS!*
sorry :)
Thanx for your help indeed! :)
Jop