Hello, set the RootFolder property of the FolderBrowserDialog to whatever location you need. Whatever you specify as the Root, the user cannot navigate any higher.
IE
The user can now not navigate higher than the AppData folder in the dialog box.Code:FolderBrowserDialog1.RootFolder = Environment.SpecialFolder.ApplicationData FolderBrowserDialog1.ShowDialog()




Reply With Quote