zvenny
October 19th, 2007, 04:05 PM
I'd like to check if the SelectedPath returned by FolderBrowserDialog is a root.
Any suggestion how to achieve this ?
Any suggestion how to achieve this ?
|
Click to See Complete Forum and Search --> : Is Root ? zvenny October 19th, 2007, 04:05 PM I'd like to check if the SelectedPath returned by FolderBrowserDialog is a root. Any suggestion how to achieve this ? JonnyPoet October 19th, 2007, 04:50 PM I'd like to check if the SelectedPath returned by FolderBrowserDialog is a root. Any suggestion how to achieve this ?What do you mean with 'is a root' a root depending to what or do you mean you want to check if the selected path is a directory like 'C:\' ? jmcilhinney October 20th, 2007, 05:53 AM if (myFolderBrowserDialog.SelectedPath == System.IO.Path.GetPathRoot(myFolderBrowserDialog.SelectedPath)) codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |