i want to make a user interface which has listboxes in it. the user selects the root folder and the following listboxes display the subfolders/files in the folders based on what list item user clicks on.
List box 1 always has the root folder, listbox 2 displays the name of subfolders and/or files (names only) in them sorted by folders first and then files(filter for ".xls*") and so on until the last listbox which displays the name of last folder and/or files in that folder. the whole path is displayed in the label which is shown at a separate place in the form. my problem is that i am not able to make the listboxes dynamic i.e. how to change the current list items in a list box based on what user selects in previous listbox.
Any help will be greatly appreciated. thanks in advance.
Bookmarks