Displaying files in a particular path in listbox????
I have two list boxes.In first listbox i am supposed to display all the directories in C drive and in second listbox if any directory is doubleclicked in listbox1 all the bmp files should be displayed in second listbox.
I have made first list box in which i am successfully displaying all the directories in C drive and My directories come in form [Windows],[Documents and Settings] ie with braces.
So further by concatenation i am concatenating C:/[Windows]/*.*
because of these square braces it is not detecting the path from where to fetch
the file from.
My concatenation thing is working in itself as i am able to display all the bmp files if I simply concatenate C:/Windows/*.*
Someone please help.