ToniVR
asked on
Directory Picker in VC++ 6.0 with MFC
I want to get a directory through a dialog. There is a standard dialog that allows you to select a file, but not only a directory. How can I manage that?
I'm not in front of MSVC++ right now to walk you through it exactly, but it is very easy. One of the menu items is something along the lines of Insert ActiveX compoment (Insert | ActiveX mabye). There is an ActiveX component named something along the lines of FolderPicker or FolderDialog. Just insert that ActiveX component into your project and then instantiate an object of that type. I won't submit this as an answer becuase I haven't given you the precise details , but if it works for you, I would appreciate it if you used the "Accept comment as answer" feature. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.