C#
C# (see section on name, pronunciation) is an object-oriented programming language developed by Microsoft as part of the .NET initiative and later approved as a standard by ECMA (ECMA-334) and ISO (ISO/IEC 23270).
Article

Changing the Desktop Wallpaper (C#)

The .NET framework does not natively support changing the desktop wallpaper. However, it is possible to set the wallpaper image using Platform Invocation Services (P/Invoke) by calling the...
Article

Creating Performance Counters Programmatically (C#)

Performance counters allow numerical information about the current state of the operating system or an application to be recorded and monitored using standard tools. This article explains how to...
Article

Setting the System Time (C#)

Some software applications include the requirement to change the system clock time. This can be achieved using C# by calling a Windows API function. This article describes how to declare and use the...
Article

Detecting Processes that are not Responding (C#)

If you are developing software that monitors other programs or services, it can be useful to detect when a process has stopped responding to the user. This can easily be achieved using members of the...
Article

Detecting User Inactivity (C#)

Some software, such as backup utilities, can use a large proportion of processor time and other resources. Often the user is given the option to only run such processes when the computer is not in...
Article

Getting the Active Process (C# / .NET)

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

Hiding the Mouse Pointer (C#)

Some applications require that the mouse pointer be hidden during use. Examples of such software include screen savers and graphical applications or games. Each may fundamentally change the manner of...
Article

Moving the Mouse Pointer Programmatically (C#)

Although rare, there are some situations where you may wish to reposition the mouse pointer programmatically to improve the user experience or to enhance accessibility. This can be easily achieved...
Article

Registering System-Wide Hot Keys

Some Windows applications execute in the background and are activated only as required. To enhance such a program's usability it is useful to register a system-wide hot key. This allows the software...
Article

Get the Windows Registered User and Organisation (C#)

When Windows is installed, the user must register a name and, optionally, the name of an organisation. This information is retained by the operating system. When asking for similar details, it is...
Article

Creating a Folder Monitoring Windows Service in C#

Windows services are background processes that usually have no direct interaction with the user interface. This article explains how to create a windows service with an example that monitors the file...
Article

Logging Messages in Event Logs (C#)

Microsoft Windows provides a built-in event logging system where informational messages, warnings, errors and audit details can be stored and viewed with the Event Viewer utility. This system is...
Article

Detecting Windows Safe Mode (C#)

Microsoft Windows can start in a special mode known as "Safe Mode". In this mode, certain drivers are disabled and networking may not be available. If your software requires this missing...
Article

Creating a Battery Power Status Monitor in C#

Sometimes programs need to know the power status of a computer. An example is Windows Update, which often requires a computer to be running on mains power before updates are installed. This article...
Article

Creating a Draggable Borderless Windows Form in C#

For programs that require a non-standard interface, you can remove the borders of your forms. Once removed however, the user has no title bar to use to allow the form to be repositioned. This...
Article

Registry In's and Out's Using C#

A complete introduction to accessing the Windows registry from .NET
Article

Hosting Control Panel Applets using C#/C++

Check out this article which describes how to enumerate and host Windows Control Panel Applets using C# and unmanaged C++.
1 2  Next
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.