Since I heard that Microsoft Windows 8 Developer Preview became available for anyone to download (and given the fact it was catered to developers!), I felt I had no reason not to download it. I’ve had VMware Workstation installed for quite some time and was totally [...]
As a C# developer who has done a fair amount of coding in VB.NET too, I’ve wanted to use optional parameters for some of my overloaded methods long before the capability existed. Fortunately, optional parameters finally do exist in C# .NET 4.0.
Prior to .NET 4, something like the following needed to be done to [...]
I wasn’t intending to write a third piece on this, but after spending more time with the prototype from the previous post, I realized that we’ve got a little more redundant code than I typically like to see. While it’s still fresh, I’d like to take the [...]
Although I’d much rather be coding all day, a good part of my job involves writing e-mail and creating documentation. And since both can tend to be boring and repetitive, I saw those activities as new avenues for coding.
I found a great (free!) tool called AutoHotKey, a macro language for Windows [...]
In the previous post, I provided a glimpse into how to use a memory-mapped file to establish a primitive interprocess communication system, responsible for passing along the process ID from one process, and a “shutdown gracefully” message from another.
To recap, we have two separate applications:
ConsoleAppListener
Memory-mapped files are great concept that have been buried in various versions of Windows for years. Finally they’ve been exposed and incorporated into .NET 4.0 and are available in Visual Studio 2010.
A memory-mapped file is essentially just a file, given a unique name– no extension necessary– that exists only [...]
Whenever the Netduino boots up or is restarted, you’ll find that the date and time reverts to the default values. Since the release of the Netduino Plus, ethernet access has been built in and provides a welcome solution to this issue.
The Network Time Protocol (NTP) provides an easy way [...]
A few weeks ago, I decided to clean up my bookshelves and finally toss a bunch of antiquated software development books. Technologies like HTML 3.2, Visual Basic 6, and Visual J++ didn’t survive this latest purge. But there’s one book that I just can’t seem to toss, no matter how much relevance it’s lost. It’s [...]
It may not be that often that a developer needs to use a fax machine. For some of us, having one nearby is one of the perks of working in an office building. For others, taking a trip to the local copy shop can take a good deal of your time, cash out of your [...]
Here’s a technique for catching more than one exception in a try / catch block. Typically it’s best to only catch the exceptions that your code can handle, so catching the general System.Exception class is discouraged. But in this case, we’re catching the general Exception class only to determine what type of exception it is. [...]
Archives
Google Friend Connect


