About... The About Box

You’d think someone would have written a decent, generic .NET About Box by now. Well, if it’s out there, I couldn’t find it! The About Box isn’t an essential part of any application, but my research (and practical experience) indicates it has two key uses:

  • For users: so they can identify the application, who made it, and what version they’re dealing with. Real basic stuff. Dogtags for your application, if you will.
  • For developers: to provide detailed build, version, and file information. Typically used when troubleshooting problems with compiled, deployed code. Medic!

It’s convenient to have an About Box– but to continue with the dogtag analaogy, if you’re whipping out dogtags on a regular basis, that’s symptomatic of a deeper problem. The About Box is not meant to be used every day, but when you need it, it can be a lifesaver. It’s OK to be used infrequently, but it also needs to provide decent diagnostic info. Decorative About Boxes are not helpful.

In order to meet both user and developer needs, I put together a tiered dialog, with simple mode, for users:

and complex mode, for developers:

Most of the identity of your application can be derived from those tricky little AssemblyInfo files:

<Assembly: AssemblyTitle(“About Box Demo”)>
<Assembly: AssemblyDescription(“Demonstration of AboutBox.vb code”)>
<Assembly: AssemblyCompany(“Atwood Heavy Industries”)>
<Assembly: AssemblyProduct(“Demo code”)>
<Assembly: AssemblyCopyright(“2004, Atwood Heavy Industries”)>
<Assembly: AssemblyTrademark(“All Rights Reserved”)>

That’s the same information you’d expect to see when right clicking your .EXE file, then selecting properties. And it is!

I tried to include all the Application and Assembly level diagnostic info that I’ve found useful. I’m sure I left something out, but I’m pretty sure I covered all the standard stuff, too. Try it out and let me know what you think.

Download the Visual Studio .NET 2003 project from CodeProject.

Related posts

Why Ruby?

I’ve been a Microsoft developer for decades now. I weaned myself on various flavors of home computer Microsoft Basic, and I got my first paid programming gigs in Microsoft FoxPro, Microsoft Access, and Microsoft Visual Basic. I have seen the future of programming, my friends, and it is terrible

By Jeff Atwood ·
Comments

Donating $5,000 to .NET Open Source

Way back in June of last year, I promised to donate a portion of my advertising revenue back to the community: I will be donating a significant percentage of my ad revenue back to the programming community. The programming community is the reason I started this blog in the first

By Jeff Atwood ·
Comments

Do Not Buy This Book

A few friends and I just wrote a book together: The ASP.NET 2.0 Anthology: 101 Essential Tips, Tricks & Hacks. I met K. Scott Allen, Jon Galloway, and Phil Haack through their excellent blogs. That online friendship carried over into real life. We always thought it’d be

By Jeff Atwood ·
Comments

Defining Open Source

As I mentioned two weeks ago, my plan is to contribute $10,000 to the .NET open source ecosystem. $5,000 from me, and a matching donation of $5,000 from Microsoft. There’s only two ground rules so far: 1. The project must be written in .NET managed code.

By Jeff Atwood ·
Comments

Recent Posts

Let's Talk About The American Dream

Let's Talk About The American Dream

A few months ago I wrote about what it means to stay gold — to hold on to the best parts of ourselves, our communities, and the American Dream itself. But staying gold isn’t passive. It takes work. It takes action. It takes hard conversations that ask us to confront

By Jeff Atwood ·
Comments
Stay Gold, America

Stay Gold, America

We are at an unprecedented point in American history, and I'm concerned we may lose sight of the American Dream.

By Jeff Atwood ·
Comments
The Great Filter Comes For Us All

The Great Filter Comes For Us All

With a 13 billion year head start on evolution, why haven’t any other forms of life in the universe contacted us by now? (Arrival is a fantastic movie. Watch it, but don’t stop there – read the Story of Your Life novella it was based on for so much

By Jeff Atwood ·
Comments