|
-
Apr 6th, 2000, 10:37 PM
#1
Thread Starter
Frenzied Member
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
-
Apr 6th, 2000, 10:48 PM
#2
Fanatic Member
Try the following format
Code:
.Filter = "Executables (*.exe)|*.exe|Com Files (*.com)|*.com"
-
Apr 6th, 2000, 11:30 PM
#3
Thread Starter
Frenzied Member
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?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Apr 6th, 2000, 11:37 PM
#4
transcendental analytic
I haven't tested it but try to separate the extensions with ;
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 6th, 2000, 11:54 PM
#5
Hyperactive Member
Hi.
dlg.Filter="All Files(*.*)|*.*|Program Files (*.exe)|*.exe|Text Files(*.txt)|*.txt"
dlg.Flags=cdlOFNAllowMultiselect + cdlOFFileMustExist + cdlOFNExplorer + cdlOFNLongNames
-
Apr 7th, 2000, 01:36 AM
#6
Thread Starter
Frenzied Member
Thanks Kendaman!
It worked..
Happy vb-ing!
Jop
-
Apr 7th, 2000, 02:33 AM
#7
Addicted Member
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
Wilhelm Tunemyr,
Swede in London
[email protected]
"Dort, wo man Bücher verbrennt, verbrennt man am Ende auch Menschen"
Heinrich Heine (1797-1856)
Pravda vítezi!
(Truth prevails!)
-
Apr 7th, 2000, 06:39 AM
#8
transcendental analytic
Thats Kedaman not Kendaman! Hehe, Glad you appreciate my aid
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 7th, 2000, 07:31 AM
#9
Thread Starter
Frenzied Member
*OOPS!*
sorry 
Thanx for your help indeed! 
Jop
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|