Paraffin 3.11: Fixed Directory Reference Option

Sam reported a bug in Paraffin where I wasn’t handling the –dirref option correctly. How embarrassing! It was a quick fix so grab the updated code and binary here. As always, please let me know if you have feature suggestions or bug reports for Paraffin.

Setup Windows Identity Framework SDK Samples on Windows 7

The setup and cleanup scripts that ship with the Windows Identity Framework SDK sample code do not properly operate under Windows 7. This is due to a check for the OS type that is used to determine if the scripts should use the netsh command or the older httpcfg command. To correct this problem, simply…

Bugslayer Tips Reappear

A while ago we lost the link where I had put all the tips that ran in my Bugslayer column in Microsoft Systems Journal and MSDN Magazine. Now they’re back. Here’s the complete collection: https://www.wintellect.com/bugslayertips.aspx. Enjoy!

Google Notebooks and Bookmarks

I really like Microsoft OneNote. It only stands to reason then that I would love the online Google Notebook application. Of course I do!… What’s not to love?! Nearly everyone that I know who has used the application loves it. If didn’t have a chance to add the application before it went away… you really…

WPF – Animating multiple elements simultaneously

A question appeared on StackOverflow asking how to animate a property on multiple elements from one or more trigger mechanisms (i.e. a button click or list box selection).  The traditional approach (for brevity’s sake, I omitted the Xaml comprising the actual UI elements) is rather straight-forward: <Window.Resources> <Storyboard x:Key="OnClick1"> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(UIElement.Opacity)"> <SplineDoubleKeyFrame KeyTime="00:00:00"…

More on Backup and Restore

On my post about restoring with Windows Home Server, Bill Tudor had an excellent comment that I felt everyone needed to read concerning backup and restore: Don’t overlook the build-in image-based backup available in the better SKU’s of Vista and Win7. It took me less than 10 minutes to recover a machine when replacing a…

Windows Home Server Restore Hint

Messing around I managed to wipe out one of my machines. Fortunately, I have rock solid backups with Windows Home Server, which I highly recommend. When disaster strikes, all you need to do is pop in the WHS Restore CD, follow the prompts, and you’re computer comes magically back to life. It truly is that…

Can the VS Debugger Automatically Attach to Any Child Spawned by a Process Being Debugged?

In my article on Easier Multithreaded Debugging, there was a great question in the comments from GregM: < p style=”margin-left:36pt”>John, how about a way to make VS automatically attach to any children spawned by the process(es) being debugged? The short answer: that’s not possible without a major architectural change to the Visual Studio debugger. That…

Automatically Freezing Threads (Brrrrr)

Looks like many people liked my macros that made multithreaded debugging easier. One of the comments on the article from Sam was worth exploring deeper: John, Great post! Would you have any idea how to make VS do this: http://stackoverflow.com/questions/837869/is-there-a-shortcut-in-vs-for-next-statement-in-current-thread This very common problem comes up the more threads you have. The gist of the…

Fun with SaveFileDialog and WriteableBitmap

I’ve been wanting to build a sample that spotlights Silverlight 3’s new SaveFileDialog, but I wanted the sample to actually do something. So I built a Silverlight app that lets you load photos, remove red eyes, and save the edited photos back to disk in PNG format. Silverlight 3’s new WriteableBitmap class provides the pixel-addressable API needed…

Ode to Wicked Code

A lot has happened since I last put pen to paper in my blog. Silverlight 3 has shipped, and I’ve been in the proverbial cone of silence while I worked with non-public builds of the product. I’ll be publishing lots of new and updated Silverlight samples in coming weeks highlighting the best new features of…

Easier Multithreaded Debugging

Last week I was working at Symantec and one of the people I was working with asked me the following: “When you’re debugging heavily multithreaded applicatons, Visual Studio doesn’t handle it too well. You can’t see multiple thread call stacks and locals windows at the same time. Worst of all, once you find that interesting…