Results 1 to 4 of 4

Thread: OpenFile Dialog's filter

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2002
    Posts
    20

    Question OpenFile Dialog's filter

    hi,
    I want to show OpenFile(s) Dialog with filter "*.mp3, *.wav" (the same as "All support files" in many software.
    but I can only use "MP3|*.mp3|WAV|*.wav" (2 filters)

    pls help!

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    I think a valid tag would be:
    VB Code:
    1. "All Supported Types|*.mp3,*.wav|MP3 Files|*.mp3|WAVE files|*.wav"
    But, you won't learn without experimentation.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    I thought it was separeated by ;.
    VB Code:
    1. "All Supported Types|*.mp3;*.wav|MP3 Files|*.mp3|WAVE files|*.wav"
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Like I said, experimentation. I didn't know that, but then again I don't believe I've ever used to commdlg object (only once I think).
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width