Results 1 to 3 of 3

Thread: Make FileListBox show everything but...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2013

    Exclamation Make FileListBox show everything but...

    Is there a way to make the FileListBox control show all files except certain ones? For instance, I would like a FileListBox to show every file in the path except .jpg files. Is this possible?

  2. #2
    Join Date
    Feb 2012
    West Virginia

    Re: Make FileListBox show everything but...

    Not that I am aware of. You can specify more than one pattern but I know of no exclude pattern methods.

    You could use a list box and populate it yourself easy enough, including or excluding anything you want

  3. #3
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Beside Waldo

    Re: Make FileListBox show everything but...

    You can fake it with 2 controls: 1 FileListBox, 1 ListBox
    - FileListbox invisible
    - ListBox visible
    Loop thru the filelistbox and add just the ones you want to the listbox
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online

    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Tags for this Thread

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