.NET news » Examples Examples Rss Feed

A Synchronized Volume Control for your Application

In a forthcoming article I will be describing a DirectSound based Wave Player-Recorder, with some unusual features.

The GUI will include a simple volume control for playback. Since I wanted that control to be synchronized with the system Volume Control utility, I needed to use WinMM.DLL functions and I thought this interim article outlining how those functions are used, and showing in particular how such a control can be synchronized with the system Volume Control, might be of general interest.

16 Jan 2008, 14:17:00   Source: A Synchronized Volume Control for your Application   Tags: Multimedia Examples

Implementing a super-fast, size-constrained generic cache

I work with performance-critical software that often requires some form of cache to function efficiently. However, there is also often a need to constrain memory usage, so I set out to create a high-performance cache with a maximum size.

ASP.Net/AJAX interface for utorrent

An ASP.Net/AJAX interface for utorrent
15 Jan 2008, 18:46:00   Source: ASP.Net/AJAX interface for utorrent   Tags: Internet Examples

Create Your Own Mailing List Server with .NET 2.0

Learn how to build your own mailing list server, making use of the new classes located in the System.Net.Mail namespace in .NET 2.0, as well as some techniques to retrieve emails from Outlook.
7 Nov 2007, 00:38:38   Source: Create Your Own Mailing List Server with .NET 2.0   Tags: Internet Examples

Build a RichTextBox-Based Syntax-Highlighting Editor and IDE

By using the RichTextbox as a base control, you can build an editor that highlights keywords and quoted strings or even an editor that employs IDE-like smart indentation and runs script code interactively.

Adding Smart Tags to Windows Forms Controls

One new features in Visual Studio 2005 is the support for smart tags.A smart tag is a panel that displays next to a control and contains a list of commonly used properties.
28 Jun 2007, 19:00:00   Source: Adding Smart Tags to Windows Forms Controls   Tags: Examples Components

Exploring Secrets of the .NET DataGridView and Dynamic Data Manipulation

Find out how to use a single DataGridView to display dynamic queries, adjusting columns automatically, and how to format individual cells exactly the way you want users to see them.

Write Your Own Windows Services

If you're using Windows, you're no stranger to Windows services, but do you know how to write one of your own? In this article, you'll learn not only how to build your own Windows service, but how to build a client with which to control it.
20 Jun 2007, 22:53:00   Source: Write Your Own Windows Services   Tags: Examples

Add Flexible Sort Capabilities to ListView Controls

Learn how to make the ListView control sort by a column when a user clicks on a column header, sort by all columns, or sort in just about any other way you can imagine.
3 Apr 2007, 15:09:56   Source: Add Flexible Sort Capabilities to ListView Controls   Tags: Examples VB.NET

Three Ways to Implement Dependency Injection in .NET Applications

The dependency injection pattern, also knows as Inversion of Control, is one of the most popular design paradigms today. It facilitates the design and implementation of loosely coupled, reusable, and testable objects in your software designs by removing dependencies that often inhibit reuse. Dependency injection can help you design your applications so that the architecture links the components rather than the components linking themselves.

This article presents an overview of the dependency injection pattern, the advantages of using dependency injection in your designs, the different types of dependency injection, and the pros and cons of each of these types, with code examples where appropriate.

22 Mar 2007, 16:49:10   Source: Three Ways to Implement Dependency Injection in .NET...   Tags: Examples Testing