tools

November 8, 2005 tools

Using VS05 to build .NET 1.x apps

November 4, 2005 tools

Generics Q: Best way to convert a string to a T?

What’s the best way to implement the following semantic (feel free to change the signature)?

bool ConvertFromStringToT<T>(string in, ref T out) {…}

I’d like to be able to call it like so:

int x = 452;
double y = 77.7;

ConvertFromStringToT(“123”, ref x); // x is now 123
ConvertFromStringToT(“abc”, ref y); // y remains 77.7

I came up with a solution that relies more than I’d like on run-time behavior rather than compile-time behavior, which is why I’m asking.

October 27, 2005 tools

Scraping old versions of VS05 off your system

If you read the ReadMe.htm from the Visual Studio 2005 setup, you’ll see a detailed list of up to 23 things to uninstall in the right order (plus 2 notes if you have trouble).

To solve this problem, Dan Fernandez posts about a VS05 uninstall tool that worked wonderfully for me.

October 27, 2005 tools

VS05 Has Shipped! Wahoo!

September 26, 2005 tools

MS Dogfooding Avalon

As MS releases new frameworks, folks always ask Does MS use this?” Of course, MS has tons of existing apps that would be silly to rewrite, but when we build new stuff, we generally use the latest frameworks that make sense.

Towards that end, John Gosman continues his history of Expression Interactive Designer aka Sparkle, mentioning the percentage of managed code in  (100%) and the number of P/Invoke calls (1 — HtmlHelp) to get what is probably the most amazing app I’ve seen in years, whether managed or not.

September 18, 2005 tools

Tracking exceptions thrown by your apps worldwide

This is an interesting, and free, service that you hook your app up to and when it throws an exception, it’ll log it w/ the service so that you can track it from afar.

These kinds of services are exactly what web services are wonderful for. Does anyone know of any other such services? I’m embarrassed to say that I don’t actually know, but does MS provide one in this space or other developer-oriented web services for other than development?

September 10, 2005 tools

Remove the slow “Compress Old Files” option!

I love CleanMgr.exe's ability to clean out my temp folder, my internet cache and my recycle bin in one swell foop, but that damn "Compress Old Files" option drives me crazy! Luckily, Scott Hanselman got a .reg file from Shawn Van Ness and now I don't have to put up with that option. Wahoo!
August 29, 2005 tools

Early WinFS beta posted for MSDN subscribers

Not too far behind Indigo and Avalon's beta 1, WinFS posts their own beta 1 (although Tom Rizzo, Director in SQL marketing says it may be a tad early). Since their "endgame" is "that WinFS will be in beta when Windows Vista ships," so long as they don't move past beta to RC or RTM (or back to alpha), they've hit it. Congrats! : )