What is the code to open the folder selection dialog?

Hi all.
What is the code to open the folder selection dialog?