Adam Caudill

Security Leader, Researcher, Developer, Writer, & Photographer

  • EventArgs: No need to pass a new Instance

    If you look at the code I write, seeing a line similar to the following would be fairly common: RaiseEvent LoadComplete(Me, New EventArgs) Yesterday, I wouldn’t have given this a second thought, but today, the story is a bit different. A friend of mine pointed me to an interesting comment by David Kean (from Microsoft) on the MSDN Wiki indicating that the line above is actually wrong! So, based on his comment, I should be using EventArgs.

    Read more…

  • Make XP Pretty

    While going through my (long) list of RSS-feeds that I monitor, I found this gem of an article: Vista Transformation Pack: Vista-ize your XP. The Vista Transformation Pack is a clever little application that moves your XP desktop several steps closer to the beauty that is Vista. While the ’transformation’ doesn’t give you all of the new UI goodies that come with Vista, it does add a fair bit of eye candy.

    Read more…

  • VB.NET 2005 Interop Toolkit

    The VB Team has just announced the release of a VB.NET / VB6 Interop toolkit, complete with source. For those of us that work in shops that still maintain a fair number of legacy applications, this could be quite useful. Here’s the description straight from Microsoft: The Interop Forms Toolkit 1.0 is a free add-in that simplifies the process of displaying .NET WinForms in a Visual Basic 6 application. Instead of upgrading the entire code base, these applications can now be extended one form at a time.

    Read more…

  • Running RegEdit as SYSTEM

    While facing an interesting research challenge, digging into the inner working of Windows, I realized that I needed to change a registry value. That’s simple enough, I fire up RegEdit, make the change, then politely as RegEdit knows how, it told me that I couldn’t change the value! Being one that hates when my computer tells me I can’t do something, I had to find another option. So after some research, I found my answer: sc.

    Read more…

  • FireFox Toys: ErrorZilla

    While my favorite browser will always be Opera, I’m a big fan of Firefox; its amazing selection of add-ons (a feature that Opera sadly lacks) adds much to its value for me. With the addition of plug-ins like the excellent Web Developer add-on, Firefox becomes a powerful development and browsing platform. I just learned of a new add-on released by Eric of roachfiend.com called ErrorZilla, this is a great idea. It’s a replacement for the default Firefox error pages, new error pages with additional features.

    Read more…

  • Kill CapsLock!

    Most people I know have issues with the CapsLock key; with feelings ranging from annoyance to sheer hatred. More often than not, I fall into the sheer hatred side of things. I’ve played with various ideas to solve the problem. Everything from a system tray notification when CapsLock is on, to physically removing the evil key itself. After all these attempts, I have found I like none of them. Enter waNOCAPS (from the Winadmin tools project), a registry modification to quickly and cleanly remap the CapsLock to a third Ctrl key.

    Read more…

  • Detailed CSS Changes in IE7

    As IE7 approaches release, the IE team has released a detailed list of the 200+ CSS changes that will appear in the final release. If you do any web development, this is a great time to read the list and audit the CSS that your sites use. IE7 breaks many of the old hacks used to work around the bugs in previous versions, so careful attention will be needed to ensure everything keeps working and looking as intended.

    Read more…

  • XML Notepad 2006

    Microsoft’s Chris Lovett (of System.Xml fame) has released XML Notepad 2006 – a simple, easy to use, and free, XML editor. For those that regularly work with XML, an editor of this type can be an invaluable addition to your toolbox. XML Notepad offers a basic set of features, great for those quick jobs where using an IDE or a more full-featured application would be overkill. While XML Notepad doesn’t offer a great range of features, it does offer some of the most important features needed to get the job done.

    Read more…

  • Hosting Woes and Down Time

    Over the last couple days my various web sites have seen far more downtime than normal. My hosting provide, Radical Vision has apparently been having issues with the MySQL server that powers not only this blog, but even their support system. Yep, you heard me right, the support system that you have to use to contact them about any issues relies on MySQL, the very same instance that everybody else uses.

    Read more…

  • VB.NET 2005 Performance Issues

    Seeing slowdowns in large VB 2005 projects? Well, I think I just found the answer. There’s now a QFE released that may help address these issues. One of the applications I maintain is a 25,000 line solution made up of 9 projects, I’m hoping this fix will resolve the issues we’ve seen compiling it (not to mention the frequent compiler crashes). Here’s the list of symptoms addressed: You experience a slow response time when you use single-step debugging.

    Read more…