Note This code sample that is described in this article is not meant for use in a production environment. It is provided only for illustration. This code sample is released under the terms of the Microsoft Public License (MS-PL).
Download informationTo download this code sample, click the following link:
Technical overviewWindows 7 shell libraries are common stores of user-defined locations. Applications can use these libraries to manage user content. However, because libraries are not file system locations, you may have to update some applications to work with shell libraries as if they were folders.
The sample projects that are provided in this download package show how you can programmatically manipulate Windows 7 shell libraries by using Visual C++, Visual C#, or Visual Basic .NET. In these sample projects, you can find basic steps about how to create, open, delete, rename, and manage shell libraries. These sample projects also show how you can add, remove, and list folders in a shell library.
Note For more information about how to create and how to deploy these sample projects, see the Readme.txt file that is included in the download package.
- Windows 7
LanguagesThis sample contains code samples in the following programming languages:
|Visual Basic .NET||VBWin7ShellLibrary|
- You must run this code sample on a Windows Server 2008 R2 or Windows 7-based computer.
- This sample application was created by using Microsoft Visual Studio 2008 with Service Pack 1 installed.
- Windows 7, Shell, Library
What is All-In-One Code Framework?All-In-One Code Framework shows most Microsoft development techniques by using code samples in different programming languages. Each example is carefully selected, composed, and documented to show one common code scenario. For more information about All-In-One Code Framework, visit the following Web site:
How to find more All-In-One Code Framework samplesTo find more All-In-One Code Framework samples, you can search for kbcodefx together with related keywords on support.microsoft.com. Or, you can simply click the following link:http://support.microsoft.com/search/default.aspx?query=kbcodefx
Article ID: 976027 - Last Review: Dec 9, 2009 - Revision: 1