Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Wed Jun 18, 2008 3:22 am Post subject: HOWTO: Set a 'special' folder such as the Control Panel, My Network Places, etc as the root folder. |
|
|
Special folders are folders such as My Computer, Control Panel, My Network Places, My Documents, Windows directory, etc. See the SpecialFolders enumeration for a complete list of special folders.
Use the SetSpecialFolderAsRoot() method of FolderView class to set one of the special folders as the root node of FolderView . For example, to set the 'Control Panel' node as root node, use the following code :
[C#]
fldrView.SetSpecialFolderAsRoot(LogicNP.FolderViewControl.SpecialFolders.CONTROLS);
[VB]
fldrView.SetSpecialFolderAsRoot(LogicNP.FolderViewControl.SpecialFolders.CONTROLS); |
|