Karl Moore

Latest articles
-
How to “Snap” the Cursor
by Karl MooreLearn how to move the cursor position to slap bang in the middle of your control.
-
Are You Running in the IDE?
by Karl MooreHere's how to detect if your .NET code is currently being debugged, or if we're in design mode.
-
Crafty Conversion Between Graphic Formats
by Karl MooreThink converting images between different formats is complicated in .NET? Think again. Karl shows you how.
-
Random Numbers... That Work!
by Karl MooreHas all this talk about seeds got you confused? Here's a nice snippet to show you the best way to get random numbers in .NET.
-
The Ordinal Number Function
by Karl MooreGive numbers their ordinals back.... this function automatically returns the correct ordinal; "st", "nd", "rd", "th" depending on the number you give it.
-
How Big is that File – in English?
by Karl MooreNot everyone wants to convert 2147483648 to 2 GB in their head every time we want to know how big a file is. Here's an easier way.
-
The Trick to Temporary Files
by Karl MooreKarl Moore reveals how to save temporary files in... the temp directory!
-
Is an Internet Connection Available?
by Karl MooreCheck if an internet connection is available using this simple code snippet.
-
Add your Web Link to the Favorites!
by Karl MooreEver wondered how to add a internet link to Internet Explorer's Favourites from your app? Here's how!
-
Converting HTML to Text
by Karl MooreDemonstrates how to use a simple regular expression to remove all HTML tags from text