dcsimg
Results 1 to 3 of 3

Thread: Make FileListBox show everything but...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2013
    Posts
    190

    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
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    12,999

    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
    Location
    Beside Waldo
    Posts
    18,546

    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
  •  



Featured


Click Here to Expand Forum to Full Width