July 2007 - Posts

How to sort the console output of a hashtable in PowerShell
10 July 07 12:01 AM | andarno | 3 Comments   
Hashtables are inherently unsorted, but when you're printing a hashtable's contents to the console, it can certainly be helpful to sort its contents by key. Although it's not obvious, the way to do it is pretty easy. Let's start with defining a hashtable Read More...
Filed under:
Getting doskey macros to work in PowerShell
09 July 07 11:17 PM | andarno | 0 Comments   
As much as I love to work with PowerShell, it was hard to give up the doskey macros I had defined for CMD.exe. But I just found out that doskey can work all its magic for PowerShell too, so here's the trick... Doskey defaults to working only with cmd.exe, Read More...
Filed under:
How to (not) write an especially precarious app on .NET (Compact Framework)
02 July 07 11:33 PM | andarno | 2 Comments   
As the .NET Compact Framework developers work to add features, fix bugs, and refactor code, we often have to determine whether a given change could break existing customer code. The ideal is that NetCF 3.5 will run all apps that ran on NetCF 2.0 and 1.0. We run hundreds of apps and many, many tests before shipping each product to check backward compatibility. The .NET Framework (both desktop and CF) makes heavy use of internal classes to allow us the freedom to change the internals of the framework without breaking customer code. But there are still ways that customers can write apps that may break on future versions. This post covers these topics. Read More...
Filed under: ,

Search

Go

This Blog

Interesting blogs

Related sites

Syndication

Page view tracker