The views expressed on this weblog are mine alone and do not necessarily reflect the views of my employer.
 Wednesday, February 05, 2003
This script alone will save me >=15 minutes a day...

' Source: MSDN Magazine Article by Dino Esposito...
' ContextMenu.vbs
' Adds a 'View with Notepad' menu item to any file's context menu
' -----------------------------------------------------------
Option Explicit

Dim shell
Dim REG_HKCR_ALL

' The registry path where our new entries should be added
' If your registry doesn't contain a Shell node,
'   it'll be silently created
REG_HKCR_ALL = "HKCR\*\Shell"

' Adds a new key and a couple of entries.
'   (The item will have an underlined 'N')
Set shell = CreateObject("WScript.Shell")
shell.RegWrite REG_HKCR_ALL & "\Notepad\", _
               "View with &Notepad", _
               "REG_SZ"
shell.RegWrite REG_HKCR_ALL & "\Notepad\Command\", _
               "%WINDIR%\notepad.exe %1", _
               "REG_EXPAND_SZ"

Sigh...and all these years, I've been typing "WindowKey-R-n-o-t-e-p-a-d-Enter" then alt-tabbing, starting a drag then alt-tabbing and dropping onto Notepad all in ~650 milliseconds, and I thought nothing could be faster...;)


Updated Link to this post 4:15:38 PM  #    comment []  trackback []
Changing ASP.NET's default WSDL Generated Help Page
A reminder from Sairama that editing the DefaultWsdlHelpGenerator.aspx page in CONFIG underneath the .NET Framework directory allows you to customize the Web Services test page.  Even if only to change the default textbox to a textarea, it's a useful tip.
Updated Link to this post 3:28:56 PM  #    comment []  trackback []
Patterns of Enterprise Application Architecture...good stuff spreads

Enterprise Architecture Crib Sheet. Martin Fowler's book Patterns of Enterprise Application Architecture has gotten a lot of good press lately (and with good reason; it's an excellent book). Now the author has made available a sort of crib sheet to the patterns online. The information here won't replace the book (about half a page for each pattern, as opposed to dozens of pages), but it does serve as a nice memory jogger or expanded table of contents. ... [Larkware News]

This is great stuff...I think I mentioned before, but our engineers are running a weekly study group going through the book in detail.


Updated Link to this post 12:11:48 AM  #    comment []  trackback []