Well, I am sure that the documentation would help you out if you did a bit of searching. It is just a simple dialog form that allows the user to search for a directory. When they are done you can use a property of the dialog to get the path as a string.