In this tutorial you will go through a few easy examples of using the ColorMatrix object with which we apply 3 different effects to a single picture (negative colors, grayscale, color translation). We also learn how to resize the form depending on the size of the loaded picture.
Get and set the wave sound volume
You will learn how to retrieve and change the current wave volume of the sound card by using waveOutGetVolume() and waveOutSetVolume() from the unmanaged Windows API in C# through P/Invoke.
Lock, Stand By, Hibernate and Log Off
This tutorial will show you how to lock your PC, put in stand by, hibernation or log off the current Windows user. For achieving this we use both managed C# code and calls to the unmanaged user32.dll library.
How to copy XML nodes between documents
In this tutorial we’ll quickly review how you can copy an XML node (XmlNode) from one XML document to another. The most important methods we’re going to use are AppendChild() and ImportNode().
Unzipping compressed files using GZipStream
This tutorial will teach you how to unzip compressed files using the new namespace of .NET 2.0, System.IO.Compression, which contains the GZipStream class that allows us to decompress compressed ZIP files.
Creating an advanced download manager in C#
In this tutorial we are extending a previously created download manager with progress indicator. Among improvements to the previous code, we are adding the code that allows the user to pause and resume a download.
Run the application at Windows startup
Learn how to make your application run at startup using a well placed registry key. Also you’ll see how to stop the application from running at startup, and checking its current state.
Creating a Port Scanner with C#
Learn how to create a simple port scanning tool in .NET, that allows you to scan IPs for open ports. It uses sockets that try to connect to the ports.
Setting and Retrieving the Desktop Wallpaper
In this tutorial you will learn how to interact with the unmanaged Windows API using C# in order to set the desktop background (wallpaper), and use the registry to retrieve the current wallpaper.
Connect to MySQL using C# and Connector/Net
This tutorial explains how to connect to a MySQL database using the Connector/Net ADO.NET driver.