development
Definition of Maintainable Code
ยท โ˜• 5 min read
There are several stages of maintainable code, each suitable for a particular situation. Let us call each stage a maintainability level. The higher the level, the more maintainable code is, and the more time it takes to write in this way. Do you always need the best possible maintainability?

Enterprise Software Development Priorities
ยท โ˜• 4 min read
In enterprise software development with lots of money involved, it often ends up being poured into the following 3 categories; Business (business need, correctness of software in regard to business workflows), Quality (ease of maintainability, lack of bugs, need fewer developers), and Speed (hire offshore, copy paste code, cut corners).

Lock File Tool - Test Exception Handling
ยท โ˜• 1 min read
File Locker did not work for me (access denied), but Windows UI tool worked perfectly. It has less options, but it does a read lock, which is what I was looking for.

Visual Studio 2013 Static Activation Key option
ยท โ˜• 1 min read
Some people complaint about the need to sign in to Visual Studio 2013 for it to run, without a possibility of running a disconnected/offline setup. Introducing a static activation key licensing option (which I just discovered) - you can obtain it from your MSDN subscription page.

VB.NET - Different Output in Designer VS Runtime
ยท โ˜• 2 min read
Let's say you want your custom control display empty string in a certain field, if it has a default value. For example, if your Text field on a custom Label control is identical to its name, show Text field as blank. Would be nice if it worked both ways, i.e. leaving Text field blank would make it identical to the name (or following a certain pattern).

VB.NET - Extract an Image Embedded as a Resource
ยท โ˜• 1 min read
Here's one of the ways to embed an image into EXE file Left click the file in the project tree Set [Build Action] -> [Embedded Resource]. And here's how you can access this file in code...

VB.NET - Nullable DateTimePicker
ยท โ˜• 2 min read
One of the popular ways to do this - change format to " " (space) whenever null value is being set and roll it back to the old format on anything else. I have been looking for clean implementation of this approach. In the end I decided to write my own, using source code available on the net. Here is what I came up with.

PowerShell - Control Code Execution
ยท โ˜• 5 min read
In this article we are going to discuss basics of how to control code execution in a PowerShell script. There are several keywords, which have slightly different behavior - BREAK, RETURN and EXIT.