All posts by Danny
Make your C# form go fullscreen
Many applications have the ability to go fullscreen. Here’s a simple snippet which will make your form go fullscreen and restore to its original location. For testing purposes, I’ve attached a very simple KeyDown event which checks for F11 keypresses (the standard fullscreen keyboard shortcut in many applications). [csharp]using System.Drawing; using System.Windows.Forms; namespace Danny_GB_Net {…
Compile the wxWidgets source – batch script
When setting up a development environment for wxWidgets, it’s usually necessary to compile your own binaries from the source. This can be a tedious task, so I threw together a simple batch script which simplifies the whole process. Note: As of 2.9.5, it is possible to download pre-built binaries for Visual C++ users. [batch]@ECHO OFF…
Creating a borderless form with a custom title bar in C#
I’ve developed a borderless form, with full functionality, in pure code. I’ve avoided design view, because… well, just because I felt like it. Coming from a C++ background, I’m quite used to coding everything in myself. NOTE: The output is quite ugly, but this is a basic example to demonstrate the functionality of a custom…
Boot critical file C:\CI.dll is corrupt
Note: You’ll be glad to know that this issue is completely salvageable. Many forums suggest that a format & reinstall is the only solution… How wrong they are. :) My God this has been driving me insane. I’ve had a few viruses in my time, but none as annoying as this. And yes… this is…
WP-Members: Automatically login after registration
WP-Members is a fantastic plugin for securing various areas of your WordPress site for access by registered users. While extremely versatile, not everything can be controlled through the settings alone. An often-requested feature is for the plugin to automatically login a user after they have registered. Unfortunately, this functionality is unavailable in the current version of…