Click here to Skip to main content
15,895,142 members
Articles / Programming Languages / C#

Prune My Recent Documents and associated Registry keys

Rate me:
Please Sign up or sign in to vote.
4.56/5 (10 votes)
15 Feb 2006CPOL6 min read 82.3K   1.7K   34  
The development of an application which allows for selective pruning of the My Recent Documents files.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following 
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PruneRecentDocs")]
[assembly: AssemblyDescription("List contents of HKCU\\...\\RecentDocs and allow for selective pruning")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("KorsbergUtilities")]
[assembly: AssemblyProduct("PruneRecentDocs")]
[assembly: AssemblyCopyright("Copyright ©  2006")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible 
// to COM components.  If you need to access a type in this assembly from 
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("88db8d17-c8ad-4f57-985b-116dd7308ee9")]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
//
[assembly: AssemblyVersion("1.1.0.1")]
[assembly: AssemblyFileVersion("1.1.0.1")]

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
During working hours is a real time firmware developer for custom ASIC's in embedded systems. Writes C/C++/C# code in his sleep and is moderately proficient in Java, Python, hardware description languages and other obscure domain specific languages. Deals with nano/microsecond data propagation delay paths, cache line hit/miss ratios, multicore asic design, etc.
However for fun likes to dabble in the new technologies of the day and deals at higher level software engineering aspects.

Comments and Discussions