In my code, there is a button in the form, "Select Folder". When the user click on this button, a Browser dialog box appears.
I want user to select a directory from this Browser. After that, I want to keep the number of folder (only folders, not other file types) in a variable.
I use FolderBrowserDialog
function. How can I do this?