How to programmatically manipulate Windows 7 shell libraries

Article translations Article translations
Article ID: 976027 - View products that this article applies to.
Expand all | Collapse all

On This Page

INTRODUCTION

This article describes an All-In-One Code Framework sample that is available for download. This sample includes a step-by-step guide about how to programmatically manipulate Windows 7 shell libraries.

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).

Difficulty level

Collapse this imageExpand this image
codefx Medium

Download information

To download this code sample, click the following link:

    

Technical overview

Windows 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.

Technology category

  • Windows 7

Languages

This sample contains code samples in the following programming languages:
Collapse this tableExpand this table
LanguageProject Name
Visual C++CppWin7ShellLibrary
Visual C#CSWin7ShellLibrary
Visual Basic .NETVBWin7ShellLibrary

Prerequisites

  • 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.

Tags

  • Windows 7, Shell, Library

MORE INFORMATION

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:
http://cfx.codeplex.com

How to find more All-In-One Code Framework samples

To 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

REFERENCES

For more information about Windows 7 shell libraries, visit the following Microsoft Web site:
http://msdn.microsoft.com/en-us/magazine/dd861346.aspx
For more information about how to program Windows 7 shell libraries, visit the following Microsoft Web site:
http://windowsteamblog.com/blogs/developers/archive/2009/06/11/windows-7-programming-guide-libraries.aspx
For more information about the Microsoft Public License, vist the following Web site:
http://opensource.org/licenses/ms-pl.html

Properties

Article ID: 976027 - Last Review: October 15, 2009 - Revision: 1.6
APPLIES TO
  • Microsoft Visual Studio 2008 Academic Edition
  • Microsoft Visual Studio 2008 Professional Edition
  • Microsoft Visual Studio 2008 Standard Edition
  • Microsoft Visual Studio Team System 2008 Database Edition
  • Microsoft Visual Studio Team System 2008 Architecture Edition
  • Microsoft Visual Studio Team System 2008 Development Edition
  • Microsoft Visual Studio Team System 2008 Test Edition
  • Microsoft Visual Studio Team System 2008 Team Suite
Keywords: 
kbcodefx atdownload kbsurveynew kbinfo KB976027

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com