LearnVisualStudio St. Patrick's Day Sale - 40% Off
Expires 3/21/2010

Site: blackwasp.co.uk

Playing WAV Files (C# / .NET)

Tags: .net, audio, c#, wav,

A commonly used standard for high quality sound reproduction is the Waveform Audio File Format, with sound data usually stored in WAV files. The .NET framework provides the SoundPlayer class to allow simple playback of such files.
Read More @ blackwasp.co.uk

Transact-SQL Delayed Execution

Transact-SQL includes the WAITFOR statement. This command allows the execution of a script or procedure to be blocked for a period of up to twenty-four hours. The process can be delayed until a specified time or for a number of hours, minutes and seconds.
Read More @ blackwasp.co.uk

Getting the System Up Time (C# / .NET)

Tags: .net, c#, sysinfo,

Sometimes it is necessary to know how much time has passed since Windows was started. This article demonstrates two ways to obtain this information using the .NET framework and describes the limitations of one of the commonly used methods.
Read More @ blackwasp.co.uk

Getting the Active Process (C# / .NET)

Tags: .net, c#, windows,

When developing software that monitors running processes, it can be useful to obtain details of the currently active application. The .NET framework does not provide methods to permit this so Platform Invocation Services (P/Invoke) must be used.
Read More @ blackwasp.co.uk

Calculate the Number of Business Days in a Range (C#)

Tags: .net, c#, tutorials,

A common task is to calculate the number of business days that exist within a date range. In most western cultures, these are the days from Monday to Friday and excluding Saturdays and Sundays. The resultant number should also exclude national holidays.
Read More @ blackwasp.co.uk

Basic File Operations (C# / .NET)

Tags: c#, file, tutorials,

When an application stores information within files, it is common to include some simple file management tasks within the software. This article describes methods of copying, moving, renaming and deleting files using C# and the .NET framework.
Read More @ blackwasp.co.uk

Simple Speech Synthesis (.NET)

When writing software that will be used by the visually impaired or for systems that have only an audio interface, it can be important to synthesise speech. The .NET framework includes standard classes that make this task simple to achieve.
Read More @ blackwasp.co.uk

SQL Server Soundex Functions

The forty-ninth part of the SQL Server Programming Fundamentals tutorial describes the Soundex functions that are provided by Transact-SQL (T-SQL). These functions allow strings to be compared according to their pronunciation by English speakers.
Read More @ blackwasp.co.uk

Application Settings (C#)

There are various ways to hold application-wide and user-specific settings externally to a program. One is to set up application settings in a Visual Studio project. These permit strongly typed configuration that can be changed without recompiling.
Read More @ blackwasp.co.uk

Environment.NewLine (.NET)

Tags: .net, c#, tutorials,

When working with strings that contain multiple lines of text, each line is separated with a line break. Line breaks are often added by inserting carriage return and line feed escape characters. This can cause cross-platform compatibility problems.
Read More @ blackwasp.co.uk

The StringBuilder Class

Tags: c#, tutorials,

Creating strings with the use of multiple concatenation operations can lead to low performance and wasteful memory usage. The StringBuilder class allows strings to be created and updated without the problems caused by the immutability of the String class.
Read More @ blackwasp.co.uk

Visual Studio Incremental Search

Visual Studio provides several tools to allow you to quickly locate text within a file, project or solution. This article describes the Incremental Search feature, which permits fast searching of a file with no interaction with dialog boxes required.
Read More @ blackwasp.co.uk

Get Time Zone Information in C#

Tags: c#, tutorials,

When creating applications that will be used internationally, particularly with a shared database that holds date and time data, it is important to be able to obtain information about time zones. This can be achieved with .NET 3.5's TimeZoneInfo class.
Read More @ blackwasp.co.uk

Gang of Four Design Patterns

The Gang of Four are the four authors of the book, "Design Patterns: Elements of Reusable Object-Oriented Software". In this article their twenty-three design patterns are described with links to UML diagrams, source code and real-world examples for each.
Read More @ blackwasp.co.uk

Next »

Latest Jobs

Free Book Sample

No Nonsense XML Web Development With PHP cuts through the hype and shows you how to get the most of this powerful, multifaceted technology. Unlike other dry, boring, theoretical writing on XML, this book covers practical uses of XML that are useful to Web developers right now.