 | Detect the Status of a Windows Service When developing software that relies upon the availability of Windows services, it is important to be able to determine a service's status. This article explains how to check if a service is running, either on a local computer or on a remote server. |
 | Windows Forms Application Version Numbers Using the information in the AssemblyInfo class file, various information relating to a Windows Forms application can be defined, including a four-part version number. This information can be particularly helpful when multiple versions are in live usage. |
 | Capturing the Screen Contents in .NET 2.0 When supporting installed software, descriptions of problems can be enhanced greatly by viewing the contents of the user's screen. In this article we will explore how to perform a screen grab and display the captured image in a Windows Forms application. |
 | Determine the Screen Resolution Sometimes an application's user interface is laid out differently according to the resolution that is preferred by the user. For example, on small screen sizes, less information may be displayed. This tip explains how to obtain the current screen size. |
 | Detecting the Tab Key in Windows Forms Most keypresses in Windows Forms applications can be detected using a mixture of the KeyDown, KeyUp and KeyPress events. However, as the tab key is used to move between controls, it is not captured by these events and must be handled differently. |
 | Standby or Hibernate Windows Programmatically One of the features of Microsoft Windows is the ability to enter standby or hibernation power-saving states that can be resumed at a later time. Usually the system is paused using the Start menu. However, using .NET 2.0, this can be achieved in code. |
 | Exiting Windows and Logging Off Programmatically If you develop software that updates key Windows configuration settings, you may require that the system be restarted or that the users logs out and performs a new login process. Using Windows API functions, this can be controlled programmatically in C#. |
 | Allowing Only One Instance of an Application Standard Windows Forms applications can be launched multiple times and each instance used completely independently of the others. However, sometimes it is important to restrict the user in launching a single instance of a program. |
 | Playing Windows System Sounds in .NET 2.0 User feedback can often be enhanced with the use of audio. Microsoft Windows provides several sounds to indicate errors, questions and other information with the sounds configured to the user's preference. These can be played using .NET 2.0 classes. |
 | Get the Current User's Login Name Modern secure software requires either a login name and password, or detects the current user and automatically assigns the correct permissions. In order to create a security system that requires no password, the current user must be identified. |
|
|