Shell Projects Index


Click for SysTray from .NET

SysTray from .NET

The .NET Framework includes a NotifyIcon component but this unfortunately doesn't support InfoTip (balloon) notification; at least, not in v1.0 of the Framework. This sample provides an equivalent class which uses the Shell code directly to allow all the tooltip facilities to be used.

  more...


Last Updated: 1 November 2003


Click for Associations

Associations

Associating Applications with Any File or Folder

  more...


Last Updated: 5 April 2003


Click for Thumbnail Extraction Using the Shell

Thumbnail Extraction Using the Shell

The Shell provides an IExtractImage interface which allows you to obtain thumbnail images for any file which has a Shell extension that supports the interface. By default there are Shell extensions for images, most Office documents and folders; and other programs can install their own Shell extensions for other file types. This sample provides .NET code you can use to easily get hold of thumbnails using this technique.

  more...


Last Updated: 8 March 2003


Click for Folder Browser Dialog

Folder Browser Dialog

The Folder Browser dialog is one of the missing components from .NET Framework 1.0 - I believe it is included in v1.1 of the Framework. Until then however, this provides a full .NET implementation with support for every feature I could find, including the IFolderFilter interface, which allows the items shown in the Folder Browser to be filtered using regular expressions.

  more...


Last Updated: 8 March 2003


Click for Creating and Modifying Shortcuts

Creating and Modifying Shortcuts

This article provides a .NET class wrapper around the ShellLink object which enables you to read, create and modify Shortcuts under any version of Windows. As a bonus, you also get an Icon Picker implementation which demonstrates how to extract all the Windows icon resources from any executable or DLL file in small or large sizes.

  more...


Last Updated: 8 March 2003


Click for Adding, Deleting and Viewing Recent Documents

Adding, Deleting and Viewing Recent Documents

All versions of the Windows Shell offer access to the Recent Documents interface. This sample demonstrates how to use the Recent Documents API along with the ShellLink code to get full access to add, clear and view items in the list.

  more...


Last Updated: 8 March 2003


Click for System Image List

System Image List

Although you can easily extract copies of icons for any file from the Shell using the SHGetFileInfo call, if you need to be able to display the icon for a large number of files you can end up with too many icons and run out of resources. The System Image List uses an intelligent caching technique to provide icons without this overhead.

  more...


Last Updated: 4 March 2003


Click for Getting File Icons Using The Shell

Getting File Icons Using The Shell

The .NET Framework doesn't provide much in the way for classes to interact with the Shell. This article provides a simple class which wraps the Shell's SHGetFileInfo to extract large and small icons plus the display name and file type for any file.

  more...


Last Updated: 4 March 2003


Click for Auto-File and URL Completion for Text Boxes and Combo Boxes

Auto-File and URL Completion for Text Boxes and Combo Boxes

Version 5 of the Shell, shipped with Windows 2000 and ME or above, provides the ability to add Auto-Complete to any Text Box. This sample provides two simple extensions to the TextBox and ComboBox classes to add AutoComplete to your application.

  more...


Last Updated: 4 March 2003