July 2004 Blog Posts

Infamy, infamy, they've all got it infamy

Fame, fortune, a link from asp.net. My poor little DSL is going to burp, I can just see it. I remember getting linked from the original MSDN communities site, I got a really ugly t-shirt that time, now I just get hits. Shame the adsense ads are rather off topic. One of my old MSN UK friends is now blogging. Nice to see fatherhood hasn't stopped him from random purchasing, the Hello Kitty typing USB hub is,...

posted @ Thursday, July 29, 2004 7:30 AM | Feedback (0)

String.Format("{0}", "formatting string"};

One of the painful things about good old ASP was string formatting, VBScript simply didn't have anything useful. C# (and VB.Net) do, but MSDN doesn't provide a quick reference to the formatting options. So here's a quick reference. To compare string formatting in C# to those in C lets have an example, char szOutput[256]; sprintf(szOutput, "At loop position %d.\n", i); sprintf takes an output buffer, a format string and any number of arguments to substitute into the format string. The C# equivalent for sprintf is String.Format, which takes a format string and the arguments. It returns a string, ...

posted @ Wednesday, July 14, 2004 8:30 PM | Feedback (247)

Wedding photos start to arrive

The wedding photos are starting to trickle in.

posted @ Saturday, July 10, 2004 1:30 PM | Feedback (0)

What do you mean "Could not run the x wizard"

A while back various people on the asp.net blogs were raving about resharper. Now aside from the "you're not refactoring, you're rewriting, you agile marketing muppet" factor the syntax highlighting as you code looked useful (this is coming in Whidbey anyway, but why wait?). So I downloaded it, installed it, and when I started Visual Studio I got errors all over the place. Rather than spend time trying to figure out why, I uninstalled the product and dismissed it (I...

posted @ Saturday, July 10, 2004 9:35 AM | Feedback (1)