John first published the blog in http://johnstewien.spaces.live.com/Blog/cns!E6885DB5CEBABBC8!1264.entry, here is the original paper as following:
----------------------------------------------------------------------
I'm a big fan of Oz Solomon's Project Line Counter from here http://www.wndtabs.com/, however there isn't a version for Visual Studio 2008. I've got a work around though :-)
Install the version for Visual Studio 2005, which fortunately installs even if Visual Studio 2005 isn't present, then copy the following to notepad, save it and rename it to a .reg file, then double click it to enter it into the registry. After that, start VS2008 and you will see it there.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/9.0/Addins/LineCount]
"FriendlyName"="Project Line Counter"
"AboutBoxDetails"="Project Line Counter Addin -- Build 2.21.2.1024
Copyright (c) 1999-2006 by Oz Solomon
http://www.wndtabs.com"
"AboutBoxIcon"="C://Program Files//WndTabs.com//LineCount//1033//LineCountResources.dll,1"
"CommandLineSafe"=dword:00000000
"CommandPreload"=dword:00000001
"Descrption"="Counts lines of code in your projects"
"LoadBehavior"=dword:00000001
"SatelliteDllName"="LineCountResources.dll"
"SatelliteDllPath"="C://Program Files//WndTabs.com//LineCount//"
-------------------------------------------------------
The paper is finished here. I have tried the method, it works well. And of cause you should change the path where you intall your program. You can down load the Project Line Counter from the official site(http://www.wndtabs.com/), or download it from csdn site as(I am going to publish the site).