Windows

What are system events? Well, basically they are events raised by the operating system when a user performs an action which affects the operating environment. System events are accessible through the Microsoft.Win32.SystemEvents class. SystemEvents Events Below is a list of all the system events found within the SystemEvents class. Name Description DisplaySettingsChanged Occurs when the [...]

{ 2 comments }

The Microsoft.NET Framework contains a component called the ServiceController. It is designed to allow you to control a Windows Service. With this component you can easily start, stop, and pause services, and you can also retrieve information on the service such as its display name and status among others. In this article I am going [...]

{ 1 comment }

What exactly is a temporary file? Put simply, a temporary file is a file used by an application for storing temporary data. There is no fixed rule which specifies what this data should be, but generally temporary files (or temp files) are used for storing ‘work data‘. For example Microsoft Office uses temp files to [...]

{ 7 comments }

It’s a common requirement for a software developer to have to access the Windows Registry. Many applications store their settings within the registry, not to mention Windows itself. So in this article I will show you how to do this, and also how to create and delete registry keys. Although many applications use the registry [...]

{ 6 comments }

The Windows Event Log is a great place to log your application’s errors or major events because it is easily accessible by administrators since all Windows Event logs can be managed from the same console. This makes the administrator’s life easier because he/she does not have to monitor logs stored in multiple directories all over [...]

{ 8 comments }