PDA

Click to See Complete Forum and Search --> : Here's a tough one...well for me!


cvaden
Jan 24th, 2000, 06:00 AM
I am currently using a listbox to grab directories of a logical or mapped drive. I fill the directories in to a database. The listbox will only list the root folders on any drive I choose.

My Questions:

1. Can I make this list box show the subdirectories of a listed folder if someone were to double click on it. i.e. Folders listed 1-4. I dblclick on 1 the listbox clears and shows ".." and the folders under folder 1.

OR

2. Can I use a directory list box and grab the directories that way. This way the 'drilldown' is already done. Just have to "grab" the folders.

With this in mind...My last question!

3. Whatever way I do it from above, can I allow multiple selections and then grab just the selected directories?

Any help that anyone can provide would be greatly appreciated!

<c>

JP
Jan 24th, 2000, 10:17 PM
For Q3, in the listbox properties, set the selectstyle (or something like that) to true