Feb 18, 2004 #1 Bubbler IS-IT--Management Dec 14, 2003 135 US This is driving me crazy, I have a listbox displaying only lnk files in a directory and am filtering them like this: Code: ListDir App.Path & "\app", "*.lnk What I can't seem to get right is to allow lnk and exe files to be shown :-(
This is driving me crazy, I have a listbox displaying only lnk files in a directory and am filtering them like this: Code: ListDir App.Path & "\app", "*.lnk What I can't seem to get right is to allow lnk and exe files to be shown :-(
Feb 18, 2004 1 #2 vb5prgrmr Programmer Jul 5, 2002 3,622 US Either use a loop for each file type you want to show or use a hidden filelistbox and set its pattern then enumerate through it. Good Luck Upvote 0 Downvote
Either use a loop for each file type you want to show or use a hidden filelistbox and set its pattern then enumerate through it. Good Luck
Feb 18, 2004 #3 vb5prgrmr Programmer Jul 5, 2002 3,622 US Or one loop to list all files and discard the ones you don't want. Good Luck Upvote 0 Downvote
Feb 18, 2004 Thread starter #4 Bubbler IS-IT--Management Dec 14, 2003 135 US Thanks vb5prgrmr, that did it! SOmetimes the simple approach... Upvote 0 Downvote