In my VB6.0 app I have used CommonDialog boxes to allow users to select a particular file to take action on. I have added new functionailty to the app and I now want the user to select a directory on their local drive. I will place some app related files in the directory they choose.
I tried doing this with CommonDialog but it doesn't stop at the directory level, it wants the user to enter or select a file name. Is there a parameter to allow the user to select a directory in the CommonDialog?
I noticed DirListBox and thought it might be the one but it seems very limited in what it displays. It doesn't show the entire local drive, only some directories relative to where the app is running. There doesn't seem to be any built in mechanism for going up the directory structure. Also I couldn't figure how the app knows which directory the user clicked on.
Any help gettiing either of these controls (or another control) to function as I want would be greatly appreciated.
I suspect i could do this by loading the directory structure into a 'treeview' control but I'm hoping there is a more efficient (less coding) way of getting this done.