SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the initially selected file/folder using a file/folder's system-independent CSIDL.
Get
VB.NET | FolderSpecial = object.InitialFolderSpecial As SftDirectorySpecialFolderConstants |
VB | FolderSpecial = object.InitialFolderSpecial As SftDirectorySpecialFolderConstants |
C#.NET | SftDirectorySpecialFolderConstants FolderSpecial = object.InitialFolderSpecial; |
VC++ | enum SftDirectorySpecialFolderConstants FolderSpecial = object->InitialFolderSpecial; enum SftDirectorySpecialFolderConstants FolderSpecial = object->GetInitialFolderSpecial(); |
C | HRESULT object->get_InitialFolderSpecial(enum SftDirectorySpecialFolderConstants* FolderSpecial); |
Put
VB.NET | object.InitialFolderSpecial = FolderSpecial As SftDirectorySpecialFolderConstants |
VB | object.InitialFolderSpecial = FolderSpecial As SftDirectorySpecialFolderConstants |
C#.NET | SftDirectorySpecialFolderConstants object.InitialFolderSpecial = FolderSpecial; |
VC++ | enum SftDirectorySpecialFolderConstants object->InitialFolderSpecial = FolderSpecial; void object->PutInitialFolderSpecial(enum SftDirectorySpecialFolderConstants FolderSpecial); |
C | HRESULT object->put_InitialFolderSpecial(enum SftDirectorySpecialFolderConstants FolderSpecial); |
object
FolderSpecial
Defines the initially selected folder using a folder's system-independent CSIDL. CSIDL values provide a system-independent method to identify special folders. SftDirectorySpecialFolderConstants describes all available CSIDL values:
FolderSpecial | Value | Description |
---|---|---|
specialSftDirectoryNone | -1 | None |
specialSftDirectoryAdminTools | 48 | AdminTools (*) |
specialSftDirectoryAltStartup | 29 | AltStartup |
specialSftDirectoryAppData | 26 | AppData (*) |
specialSftDirectoryRecycleBin | 10 | RecycleBin |
specialSftDirectoryCDBurnArea | 59 | CDBurnArea (6.0) |
specialSftDirectoryCommonAdminTools | 47 | Common AdminTools (*) |
specialSftDirectoryCommonAltStartup | 30 | Common AltStartup |
specialSftDirectoryCommonAppData | 35 | Common AppData (*) |
specialSftDirectoryCommonDesktop | 25 | Common Desktop |
specialSftDirectoryCommonDocuments | 46 | Common Documents (*) |
specialSftDirectoryCommonFavorites | 31 | Common Favorites |
specialSftDirectoryCommonMusic | 53 | Common Music (6.0) |
specialSftDirectoryCommonPictures | 54 | Common Pictures (6.0) |
specialSftDirectoryCommonPrograms | 23 | Common Programs |
specialSftDirectoryCommonStartMenu | 22 | Common StartMenu |
specialSftDirectoryCommonStartUp | 24 | Common StartUp |
specialSftDirectoryCommonTemplates | 45 | Common Templates |
specialSftDirectoryCommonVideo | 55 | Common Video (6.0) |
specialSftDirectoryControlPanel | 3 | ControlPanel |
specialSftDirectoryCookies | 33 | Cookies (*) |
specialSftDirectoryDesktop | 0 | Desktop |
specialSftDirectoryDesktopDirectory | 16 | DesktopDirectory |
specialSftDirectoryMyComputer | 17 | My Computer |
specialSftDirectoryFavorites | 6 | Favorites |
specialSftDirectoryFonts | 20 | Fonts |
specialSftDirectoryHistory | 34 | History (*) |
specialSftDirectoryInternet | 1 | Internet |
specialSftDirectoryInternetCache | 32 | InternetCache (*) |
specialSftDirectoryLocalAppData | 28 | Local AppData (*) |
specialSftDirectoryMyDocumentsDesktop | 12 | My Documents Desktop Item (6.0) |
specialSftDirectoryMyMusic | 13 | My Music |
specialSftDirectoryMyPictures | 39 | My Pictures (*) |
specialSftDirectoryMyVideos | 14 | My Videos (6.0) |
specialSftDirectoryMyNetworkNeighborhood | 19 | My Network Neighborhood |
specialSftDirectoryNetworkNeighborhood | 18 | Network Neighborhood |
specialSftDirectoryMyDocuments | 5 | My Documents (*) |
specialSftDirectoryPrinters | 4 | Printers |
specialSftDirectoryPrintHood | 27 | PrintHood |
specialSftDirectoryProfile | 40 | Profile (5.0) |
specialSftDirectoryProfiles | 62 | Profiles (6.0) |
specialSftDirectoryProgramFiles | 38 | Program Files (*) |
specialSftDirectoryCommonProgramFiles | 43 | Common Program Files (*) |
specialSftDirectoryPrograms | 2 | Programs |
specialSftDirectoryRecent | 8 | Recent |
specialSftDirectorySendTo | 9 | SendTo |
specialSftDirectoryStartMenu | 11 | StartMenu |
specialSftDirectoryStartup | 7 | Startup |
specialSftDirectorySystem | 37 | System (*) |
specialSftDirectoryTemplates | 21 | Templates |
specialSftDirectoryWindows | 36 | Windows (*) |
specialSftDirectoryConnections | 49 | Connections (6.0) |
specialSftDirectoryComputersNearMe | 61 | Computers Near Me (6.0) |
specialSftDirectoryPhotoAlbums | 69 | PhotoAlbums (Vista+) |
specialSftDirectoryPlayLists | 63 | PlayLists (Vista+) |
specialSftDirectoryResources | 56 | Resources (Vista+) |
specialSftDirectorySampleMusic | 64 | Sample Music (Vista+) |
specialSftDirectorySamplePictures | 66 | Sample Pictures (Vista+) |
specialSftDirectorySamplePlayLists | 65 | Sample PlayLists (Vista+) |
specialSftDirectorySampleVideos | 67 | Sample Videos (Vista+) |
specialSftDirectoryEmpty | 999 | Empty |
The InitialFolderSpecial property defines the initially selected file/folder using a file/folder's system-independent CSIDL.
The InitialFolderSpecial property can be used to select a specific file/folder. In a TreeView style control (see ControlStyle property) the folder's parent folders are automatically expanded, while collapsing all unnecessary folders.
The InitialFolder property can be used to select a file/folder using its path name.
See Also SftDirectory Object | Object Hierarchy