Results 1 to 5 of 5

Thread: quick file filter question [RESOLVED]

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2005
    Posts
    277

    Resolved quick file filter question [RESOLVED]

    Hi All,
    Just a quickie if using commn dialog how do I only get 1 type of file to display.
    I know it is probably quite simple.

    Thanks
    R
    Last edited by robvr6; Feb 8th, 2005 at 11:21 AM. Reason: RESOLVED

  2. #2
    Junior Member SLeeP-Dep'D's Avatar
    Join Date
    Mar 2004
    Location
    St. Paul, MN, USA
    Posts
    27

    Re: quick file filter question

    Are you using the CommonDialog control? What about the Filter property:
    Code:
    Me.CommonDialog1.Filter="The Only File You Can Select (myfile.txt)"
    ...SLeeP-DeP'd

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2005
    Posts
    277

    Re: quick file filter question

    I am using the CommonDialog control and I just want .mp3 files to be visible

  4. #4
    Addicted Member Bregalad's Avatar
    Join Date
    Jul 2000
    Location
    Oslo,Norway
    Posts
    183

    Re: quick file filter question

    VB Code:
    1. CommonDialog1.Filter = "MP3 Files|*.mp3"

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2005
    Posts
    277

    Re: quick file filter question

    Thanks very much - sorted

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