|
-
Mar 15th, 2009, 10:20 PM
#3
Re: Help me to do this
Welcome to the forums.
SHBrowseForFolder is definitely one solution to get a user-navigated folder.
Another option (from your img) is to use the common dialog, have user select any file and then strip the path name from the common dialog's FileName property.
If either of the above are used, you will have to use Dir$() function, in a loop, to return all the files in the selected folder.
Yet antoher option is to place a DriveCombo control, DirList control & FileList control on your form. Using the three together is a long-about way of doing one of the other two, but you don't need much code. A beginner's solution.
And there are other solutions too, of varying difficulty
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|