|
-
October 2nd, 1999, 08:48 PM
#1
How to filter Common Dialog for many extenctions
how can i filter for *.wav and *.au and *.snd.....etc. so like it will say "Audio" and it filters for many extenctions
Thank You
-
October 3rd, 1999, 02:26 PM
#2
Re: How to filter Common Dialog for many extenctions
Create a form. Add a command button name command1.
Then add the CommonDialog control. Past the following code and this might work for you.
[vbcode]
Private Sub command1_Click()
With CommonDialog1
.Filter = "Executable file (*.exe)|*.exe;|DOS Batch file (*.bat)|*.bat"
.ShowOpen
End With
End Sub
Hope those works for you.
Amendra.
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
|