Share via


System.Shell Object

Defines the properties and methods used to expose Windows Shell characteristics.

Members

The System.Shell object defines the following members:

  • Methods

Methods

The System.Shell object defines the following methods.

Method Description
chooseFile

Displays a file picker dialog box and retrieves a System.Shell.Item object that represents the selected file.

chooseFolder

Displays a folder picker dialog box and retrieves a System.Shell.Item object that represents the selected folder.

drive

Retrieves a System.Shell.Drive object that represents the specified drive.

execute

Launches an application.

itemFromFileDrop

Retrieves an System.Shell.Item from the Items collection that represents the object(s) dropped on a gadget during a drag-and-drop operation (copying or moving).

itemFromPath

Retrieves a System.Shell.Item that represents an object at the specified UNC path.

knownFolder

Returns an instance of a System.Shell.Folder based on a "well-known folder" name as defined within the user profile (for example, Documents or ProgramFiles).

knownFolderPath

Retrieves a Known Folder UNC path.

refreshDesktop

Refreshes the desktop after adding or removing files.

saveFileDialog

Displays a standard Windows File Save dialog box.

 

Requirements

Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
IDL Sidebar.idl
DLL Sidebar.Exe version 1.0 or later

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK