Connecting Tech Pros Worldwide Help | Site Map

Listng Files in Single Directory...

devonknows's Avatar
Familiar Sight
 
Join Date: Nov 2006
Posts: 137
#1: Dec 29 '06
ok what im trying to do is list bunch of files that are in a directory and place the file name in the list box minus the file extension, also i want to be able to exclude all sub directories if possible, if anyone can offer any help on a tutorial or example code would be much appreciated.

Kind Regards, Merry Christmas and a Happy New Year.
Devon.
Expert
 
Join Date: Oct 2006
Location: NC
Posts: 1,722
#2: Dec 29 '06

re: Listng Files in Single Directory...


This should help you out a bit instead of checking to see if the file exists use a loop to list the file names. Sorry no VB at work can't provide an example.
Reply