
Using LINQ to Identify Empty Text Boxes in C#
There are umpteen ways to determine whether or not a TextBox in a group of TextBoxes is empty. Usually whilst doing Form validation, you need to ensure all data has

There are umpteen ways to determine whether or not a TextBox in a group of TextBoxes is empty. Usually whilst doing Form validation, you need to ensure all data has
The classes in .NET are structured to read files from the beginning to end. Hard drives are structured like that, sometimes though there is a dire need to read a
In order to lock your computer, you need to use the following two APIs: [DllImport(“user32.dll”)] public static extern void LockWorkStation(); [DllImport(“user32.dll”)] public static extern int ExitWindowsEx(int uFlags, int dwReason); You
It is quite easy to minimize all currently opened windows with C#. All you need to know is a few APIs: FindWindowSendMessageTimeout Here is a small example: public partial class
It is possible to prevent a system shutdown from within your C# apps. Basically the premise is as follows: Override the WndProc event so that when a system shutdown event
A pointer is a variable that points to the memory location of another variable or an object. The pointer itself is also a variable???the difference between a pointer and another
Preprocessors are programs that accept input and produce output that in turn becomes input for the next cycle. Preprocessor directives are statements in a program that are preceded by the
In many ways, Cyberwar is different from traditional warfare, but in other ways, it’s simply a variation on an age-old theme. True, the Internet is the battlefield and the combatants
Backing up your important corporate data to the Cloud makes sense, right? It’s offsite, highly reliable, and inexpensive. What’s not to love? Of course, it’s important for your Cloud backup