Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectory.InitialFolderSpecial Property

Defines the initially selected file/folder using a file/folder's system-independent CSIDL.

Syntax

Get

VB.NETFolderSpecial = object.InitialFolderSpecial As SftDirectorySpecialFolderConstants
VBFolderSpecial = object.InitialFolderSpecial As SftDirectorySpecialFolderConstants
C#.NETSftDirectorySpecialFolderConstants FolderSpecial = object.InitialFolderSpecial;
VC++enum SftDirectorySpecialFolderConstants FolderSpecial = object->InitialFolderSpecial;
enum SftDirectorySpecialFolderConstants FolderSpecial = object->GetInitialFolderSpecial();
CHRESULT object->get_InitialFolderSpecial(enum SftDirectorySpecialFolderConstants* FolderSpecial);

Put

VB.NETobject.InitialFolderSpecial = FolderSpecial As SftDirectorySpecialFolderConstants
VBobject.InitialFolderSpecial = FolderSpecial As SftDirectorySpecialFolderConstants
C#.NETSftDirectorySpecialFolderConstants object.InitialFolderSpecial = FolderSpecial;
VC++enum SftDirectorySpecialFolderConstants object->InitialFolderSpecial = FolderSpecial;
void object->PutInitialFolderSpecial(enum SftDirectorySpecialFolderConstants FolderSpecial);
CHRESULT object->put_InitialFolderSpecial(enum SftDirectorySpecialFolderConstants FolderSpecial);

object

A SftDirectory 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:

FolderSpecialValueDescription
specialSftDirectoryNone-1None
specialSftDirectoryAdminTools48AdminTools (*)
specialSftDirectoryAltStartup29AltStartup
specialSftDirectoryAppData26AppData (*)
specialSftDirectoryRecycleBin10RecycleBin
specialSftDirectoryCDBurnArea59CDBurnArea (6.0)
specialSftDirectoryCommonAdminTools47Common AdminTools (*)
specialSftDirectoryCommonAltStartup30Common AltStartup
specialSftDirectoryCommonAppData35Common AppData (*)
specialSftDirectoryCommonDesktop25Common Desktop
specialSftDirectoryCommonDocuments46Common Documents (*)
specialSftDirectoryCommonFavorites31Common Favorites
specialSftDirectoryCommonMusic53Common Music (6.0)
specialSftDirectoryCommonPictures54Common Pictures (6.0)
specialSftDirectoryCommonPrograms23Common Programs
specialSftDirectoryCommonStartMenu22Common StartMenu
specialSftDirectoryCommonStartUp24Common StartUp
specialSftDirectoryCommonTemplates45Common Templates
specialSftDirectoryCommonVideo55Common Video (6.0)
specialSftDirectoryControlPanel3ControlPanel
specialSftDirectoryCookies33Cookies (*)
specialSftDirectoryDesktop0Desktop
specialSftDirectoryDesktopDirectory16DesktopDirectory
specialSftDirectoryMyComputer17My Computer
specialSftDirectoryFavorites6Favorites
specialSftDirectoryFonts20Fonts
specialSftDirectoryHistory34History (*)
specialSftDirectoryInternet1Internet
specialSftDirectoryInternetCache32InternetCache (*)
specialSftDirectoryLocalAppData28Local AppData (*)
specialSftDirectoryMyDocumentsDesktop12My Documents Desktop Item (6.0)
specialSftDirectoryMyMusic13My Music
specialSftDirectoryMyPictures39My Pictures (*)
specialSftDirectoryMyVideos14My Videos (6.0)
specialSftDirectoryMyNetworkNeighborhood19My Network Neighborhood
specialSftDirectoryNetworkNeighborhood18Network Neighborhood
specialSftDirectoryMyDocuments5My Documents (*)
specialSftDirectoryPrinters4Printers
specialSftDirectoryPrintHood27PrintHood
specialSftDirectoryProfile40Profile (5.0)
specialSftDirectoryProfiles62Profiles (6.0)
specialSftDirectoryProgramFiles38Program Files (*)
specialSftDirectoryCommonProgramFiles43Common Program Files (*)
specialSftDirectoryPrograms2Programs
specialSftDirectoryRecent8Recent
specialSftDirectorySendTo9SendTo
specialSftDirectoryStartMenu11StartMenu
specialSftDirectoryStartup7Startup
specialSftDirectorySystem37System (*)
specialSftDirectoryTemplates21Templates
specialSftDirectoryWindows36Windows (*)
specialSftDirectoryConnections49Connections (6.0)
specialSftDirectoryComputersNearMe61Computers Near Me (6.0)
specialSftDirectoryPhotoAlbums69PhotoAlbums (Vista+)
specialSftDirectoryPlayLists63PlayLists (Vista+)
specialSftDirectoryResources56Resources (Vista+)
specialSftDirectorySampleMusic64Sample Music (Vista+)
specialSftDirectorySamplePictures66Sample Pictures (Vista+)
specialSftDirectorySamplePlayLists65Sample PlayLists (Vista+)
specialSftDirectorySampleVideos67Sample Videos (Vista+)
specialSftDirectoryEmpty999Empty

Comments

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.