|
-
Mar 19th, 2005, 02:24 AM
#3
Thread Starter
Junior Member
Re: ?How can I get the selected folder's name in open common dialog window?
Thank you Moeur for answering me.
I'll try to explain better. I'm new in API programming and I don't know how subclassing works but from what I've read some think it's risky (?). Also I don't know that the way I've chosen is the best. What I need to do is this: I want the user to be able to browse through the drives, folders and files of the computer and choose the folders(even drives) and the files that he needs so I can add them (with their complete path) in a list. I thought that the common dialog box is easy to use for the user and he is familiar with it. The problem is that I use VBA from Access 2000 and the common dialog control doesn't exists here... So for short my problem is that when the the user clicks on a folder(not double-clicks ) I cannot retrieve the name of the folder(s) that the user choosed. I can only get the folder's parent path(through CDM_GETFOLDERPATH). For files things work just fine. I renamed the open button and when the user selects files and clicks it I can add them to my list with their ful path. I want to be able to do the same thing with folders.
Thank you again and hope you can give me a hand on this problem
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
|