HtmlPage.PopupWindow vs. HtmlWindow.Navigate

I was recently looking at various ways of launching an external window from inside a Silverlight 2 application.  Dusting off your javascript brain cell, you’ll recall that to open a popup dialog in "the old days", we’d use window.open().  I knew about the HtmlBridge available in Silverlight 2 and I had used it for several…

Fixed ADPlus That Works with Windows 7 (and Probably S2K8 R2)

Edit Feb. 20, 2009: Note that Microsoft has fixed ADPlus with the 6.11.1.402 version of the Debugging Tools for Windows. Use that version instead of my version posted here.  Windows 7 has been working quite well for me and the new taskbar is completely fantastic. Being that it’s in beta there are a few bugs…

The Case of the Corrupt PE Binaries

After installing Windows 7, I also installed the Windows 7 SDK as I wanted to poke around the updated headers and documentation files to see what was new at a low level. Additionally, I wanted to make sure all my code compiled against the new headers and libraries in case someone taking my native debugging…

Blast from the Past: How Son-Of-FDISK Saved My Computer

You can tell how long someone has been around computers by mentioning “FDISK” and seeing if you’re met with a blank stare. Not many people remember FDISK. But for those that do, that knowledge can still come in handy today. Two weeks ago, I was packing my bags to head for the airport when my…

Yngwie Malmsteen syndrome (Silverlight 2 Scroller revisited)

Earlier this month, I blogged about a Silverlight 2 Scroller control that I had labored over for the better part of a weekend.  The entire time I was working on this Scroller, I had this small, dirty feeling that what I had created was somehow way more than what I needed to accomplish my end…

China’s very first .NET Conference in Shanghai

In February 2009, China is having its very first .NET conference in Shanghai and I am extremely honoured that the conference organisers asked me to participate. I will be givng the keynote talk on .NET performance and a talk on writing responsive and scalable software. In addition, I’ll also be on the panel for an…

Silverlight System.ExecutionEngineException

Just a quick note that will hopefully save someone the pain that I just went through chasing yet another exception in Silverlight with nothing to go on from Visual Studio.  (I really hope that there is some better feedback coming on Silverlight applications when you hit a runtime error in the future).  Anyway, I was…

Mastering Windows Debugging Virtual – Native Developers Rejoice!

After many, many requests, we are offering my Mastering Windows Debugging class as a virtual session on February 3 and 4, 2009. The world still runs on native C++ Windows applications so if are designing and debugging those hard core applications, this class is for you! We’ll cover all sorts of great native debugging tricks…

It Could Only Happen to Richter

I had dinner with John Robbins and Jeffrey Richter tonight, and after an hour or so of chit-chat, I asked Richter what time it was. He checked his watch and found that it had blanked out. Turns out he’s wearing a solar-powered watch, and it’s been so long since they’ve seen the sun in Seattle…

Silverlight 2 Scroller

01/22/09: Scroller updated in this post.  Last week I had the opportunity to really dive into some fun with a Silverlight 2 ListBox.  It all started with a requirement for a simple Scroller control.  You know, the simple left-to-right scrollers that you see in so many applications?  I’ve seen them in several applications, yet when…

Initializing the FROM value of a Silverlight 2 Animation

Recently, I was attempting to create my own popup dialog. I had specific requirements in mind for this dialog, including:  I wanted to animate the Width/Height from 0x0 to the ActualWidth/ActualHeight I wanted to animate the Opacity from 0 to 1 I wanted to animate the Top/Left properties from the point of mouse click (an…

Impressions of Windows 7

It’s been a whole three days that I’ve been using Windows 7 so that makes me an expert. (Just kidding!) However, since I was able to grab my copy before Microsoft faced server death, thank you MSDN Subscription, it’s given me a whole weekend to actually use the operating system in a real world developer…