Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Project Line Counter Add-In v2.10 for VS.NET and VC6

, 29 Jun 2003
Get statistics about your source code with a click of a button
linecount_dll.zip
LineCount.dll
WWhizInterface.mod
LineCount.chm
linecount_src.zip
LineCount.dsw
LineCount_VC5.dsw
LineCount.dsp
LineCount_VC5.dsp
LineCount.odl
LineCount.def
LineCount.clw
Help
arrowrt.gif
Index.hhk
LineCount.chm
LineCount.hhp
mailto.gif
metl011.gif
PLC.gif
small_exclamation.gif
TOC.hhc
weblink.gif
res
idr_main.ico
project.ico
TBarLrge.bmp
TBarMedm.bmp
title.ico
ExtrnSrc
Release
LineCount.dll
WWhizInterface.mod
LineCount.chm
plc110src.zip
plc111.zip
WWhizInterfaceInstaller210Beta1.exe
LineCount.dll
LineCount.chm
plc111src.zip
WWhizInterfaceInstaller210Beta1.exe
LineCount.dll
LineCount.chm
Source
LineCount.dsw
LineCount_VC5.dsw
LineCount.dsp
LineCount_VC5.dsp
LineCount.odl
LineCount.def
Help
.cvsignore
Index.hhk
LineCount.hhp
PLC.gif
TOC.hhc
arrowrt.gif
mailto.gif
metl011.gif
small_exclamation.gif
weblink.gif
res
TBarLrge.bmp
TBarMedm.bmp
idr_main.ico
project.ico
title.ico
ExtrnSrc
Debug
WWhizInterface2D.mod
plc150.zip
WWhizInterfaceInstaller212.exe
LineCount.dll
LineCount.chm
Reports
SampleAnalysis.xls
Simple-BW.xsl
Simple-Color.xsl
plc150src.zip
WWhizInterfaceInstaller212.exe
LineCount.dll
LineCount.chm
SampleAnalysis.xls
Simple-BW.xsl
Simple-Color.xsl
LineCount.dsw
LineCount.dsp
LineCount.odl
LineCount.def
LineCount.clw
.cvsignore
TOC.hhc
linecount.hhp
arrowrt.gif
Index.hhk
PLC.gif
mailto.gif
small_exclamation.gif
weblink.gif
info_dot_small.gif
TBarLrge.bmp
idr_main.ico
project.ico
HdrDownA.bmp
HdrUpA.bmp
title.ico
info.ico
TBarMedm.bmp
WWhizInterface2D.mod
plc200.zip
LineCount.cab
WWhizInterface30VC6_1016.exe
plc200src.zip
.cvsignore
LineCount.def
LineCount.dsp
LineCount.dsw
LineCount.odl
ResizableLib
.cvsignore
ResizableLib.dsp
ResizableLib.dsw
.cvsignore
Index.hhk
LineCount.hhp
PLC.gif
TOC.hhc
arrowrt.gif
info_dot_small.gif
mailto.gif
small_exclamation.gif
weblink.gif
ObjModelVC6
ObjModelVC7
MSADDNDR.tlh
MSO.tlh
dte.tlh
HdrDownA.bmp
HdrUpA.bmp
LineCountVC6.rgs
LineCountVC7.rgs
TBarLrge.bmp
TBarMedm.bmp
idr_main.ico
info.ico
lcgo.bmp
project.ico
title.ico
WWhizInterface2D.mod
plc210.zip
SetupPLC210.exe
plc210src.zip
.cvsignore
LineCount.def
LineCount.dsp
LineCount.dsw
LineCount.odl
.cvsignore
ResizableLib.dsp
ResizableLib.dsw
.cvsignore
Index.hhk
LineCount.hhp
PLC.gif
TOC.hhc
arrowrt.gif
info_dot_small.gif
mailto.gif
small_exclamation.gif
weblink.gif
MSADDNDR.tlh
MSO.tlh
dte.tlh
HdrDownA.bmp
HdrUpA.bmp
LineCountVC6.rgs
LineCountVC7.rgs
TBarLrge.bmp
TBarMedm.bmp
gallery.xsl
idr_main.ico
info.ico
lcgo.bmp
project.ico
title.ico
WWhizInterface2D.mod
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

#ifndef PBS_SMOOTH
#define PBS_SMOOTH 1
#endif
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\idr_main.ico"
IDI_PROJECT             ICON    DISCARDABLE     "res\\project.ico"
IDI_TITLE               ICON    DISCARDABLE     "res\\title.ico"

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\r\n"
    "#ifndef PBS_SMOOTH\r\n"
    "#define PBS_SMOOTH 1\r\n"
    "#endif\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
    "#define _AFX_NO_OLE_RESOURCES\r\n"
    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
    "\r\n"
    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
    "#ifdef _WIN32\r\n"
    "LANGUAGE 9, 1\r\n"
    "#pragma code_page(1252)\r\n"
    "#endif //_WIN32\r\n"
    "#include ""res\\LineCount.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""afxres.rc""         // Standard components\r\n"
    "#endif\r\n"
    "1 TYPELIB ""LineCount.tlb""\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//

IDR_TOOLBAR_MEDIUM      BITMAP  MOVEABLE PURE   "res\\TBarMedm.bmp"
IDR_TOOLBAR_LARGE       BITMAP  MOVEABLE PURE   "res\\TBarLrge.bmp"
IDB_ARROWUP             BITMAP  DISCARDABLE     "res\\HdrUpA.bmp"
IDB_ARROWDOWN           BITMAP  DISCARDABLE     "res\\HdrDownA.bmp"
IDB_LCGO                BITMAP  DISCARDABLE     "res\\lcgo.bmp"

#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 2,1,2,1013
 PRODUCTVERSION 2,1,2,1013
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x2L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "Comments", "http://www.wndtabs.com\0"
            VALUE "CompanyName", "\0"
            VALUE "FileDescription", "Project Line Counter Add-In For Visual Studio\0"
            VALUE "FileVersion", "2.10.2.1013\0"
            VALUE "InternalName", "LineCount\0"
            VALUE "LegalCopyright", "Copyright � 1999-2003 by Oz Solomonovich\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "LineCount.dll\0"
            VALUE "PrivateBuild", "\0"
            VALUE "ProductName", "Project Line Counter Add-In For Visual Studio\0"
            VALUE "ProductVersion", "2.10.2.1013\0"
            VALUE "SpecialBuild", "\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC


/////////////////////////////////////////////////////////////////////////////
//
// Toolbar
//

IDR_TOOLBAR_MEDIUM TOOLBAR DISCARDABLE  16, 16
BEGIN
    BUTTON      IDR_MAINFRAME
    BUTTON      IDR_MAINFRAME
END

IDR_TOOLBAR_LARGE TOOLBAR DISCARDABLE  32, 32
BEGIN
    BUTTON      IDR_MAINFRAME
    BUTTON      IDR_MAINFRAME
END


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_INSERT_EXT DIALOG DISCARDABLE  0, 0, 222, 88
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Insert New Extension"
FONT 8, "MS Sans Serif"
BEGIN
    ICON            IDI_INFO,IDC_STATIC,7,64,16,16,SS_REALSIZEIMAGE
    LTEXT           "Enter new extension to insert (without the initial dot):",
                    IDC_STATIC,7,7,208,8
    EDITTEXT        IDC_EDIT,7,18,208,14,ES_UPPERCASE | ES_AUTOHSCROLL
    LTEXT           "Parser to use:",IDC_STATIC,7,37,42,8
    COMBOBOX        IDC_COMBO_PARSER,7,47,208,53,CBS_DROPDOWN | CBS_SORT | 
                    WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "OK",IDOK,111,67,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,165,67,50,14
    LTEXT           "Wildcards (*, ?) are allowed",IDC_STATIC,18,72,87,8
END

IDD_RESULTS DIALOG DISCARDABLE  0, 0, 364, 188
STYLE DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "Project Line Counter (No Project Loaded)"
MENU IDR_RESULTS
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "",IDC_MENU_SEP,"Static",SS_ETCHEDHORZ,0,1,363,1
    CONTROL         "",IDC_NOPROJ_FRAME,"Static",SS_BLACKFRAME,7,7,350,110
    CTEXT           "No Project Loaded",IDC_NOPROJ_TEXT,14,32,336,8
    LTEXT           "NOTE:\nIf you actually have a workspace open, then you are experiencing a bug in WWhiz! Interface.\nTry closing your workspace (File|Close Workspace), then opening it again.",
                    IDC_NOPROJ_NOTE,14,86,336,24
    CONTROL         "List1",IDC_RESULTLIST,"SysListView32",LVS_REPORT | 
                    LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | 
                    WS_TABSTOP,7,7,350,110
    ICON            IDI_INFO,IDC_TIP_ICON,142,161,20,20
    LTEXT           "Ctrl+Click headers for multiple-sort",IDC_TIP_TEXT,154,
                    171,113,8
    RTEXT           "Total:",IDC_TXT_TOTAL,7,124,19,11
    LTEXT           "Lines",IDC_LINEST,32,124,45,11,SS_SUNKEN
    LTEXT           "Code",IDC_CODET,81,124,45,11,SS_SUNKEN
    LTEXT           "Comments",IDC_COMMENTST,130,124,45,11,SS_SUNKEN
    LTEXT           "Mixed",IDC_MIXEDT,179,124,45,11,SS_SUNKEN
    LTEXT           "Blank",IDC_BLANKT,228,124,45,11,SS_SUNKEN
    LTEXT           "Net Lines",IDC_NETLINEST,277,124,45,11,SS_SUNKEN
    RTEXT           "#:",IDC_TXT_C,7,137,19,11
    LTEXT           "n/a",IDC_LINESC,32,137,45,11,SS_SUNKEN
    LTEXT           "n/a",IDC_CODEC,81,137,45,11,SS_SUNKEN
    LTEXT           "n/a",IDC_COMMENTSC,130,137,45,11,SS_SUNKEN
    LTEXT           "n/a",IDC_MIXEDC,179,137,45,11,SS_SUNKEN
    LTEXT           "n/a",IDC_BLANKC,228,137,45,11,SS_SUNKEN
    LTEXT           "n/a",IDC_NETLINESC,277,137,45,11,SS_SUNKEN
    RTEXT           "%:",IDC_TXT_P,7,151,19,11
    LTEXT           "n/a",IDC_LINESP,32,151,45,11,SS_SUNKEN
    LTEXT           "n/a",IDC_CODEP,81,151,45,11,SS_SUNKEN
    LTEXT           "n/a",IDC_COMMENTSP,130,151,45,11,SS_SUNKEN
    LTEXT           "n/a",IDC_MIXEDP,179,151,45,11,SS_SUNKEN
    LTEXT           "n/a",IDC_BLANKP,228,151,45,11,SS_SUNKEN
    LTEXT           "n/a",IDC_NETLINESP,277,151,45,11,SS_SUNKEN
    LTEXT           "F&ilter:",IDC_TXT_FILTER,7,170,19,8
    COMBOBOX        IDC_FILTER,32,169,95,92,CBS_DROPDOWN | CBS_SORT | 
                    WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "Close",IDOK,297,167,60,14
END

IDD_PROGRESS DIALOG DISCARDABLE  0, 0, 186, 69
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Counting..."
FONT 8, "MS Sans Serif"
BEGIN
    CTEXT           "Processing...",IDC_TEXT_TOP,7,7,172,8
    CONTROL         "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER,7,
                    19,172,9
    LTEXT           "file name..",IDC_TEXT_BOTTOM,7,34,172,8
    PUSHBUTTON      "Cancel",IDCANCEL,68,49,50,14
END

IDD_OPTPAGE_OPTIONS DIALOG DISCARDABLE  0, 0, 235, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Export"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Exporting Options",IDC_STATIC,7,7,56,8
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME | SS_SUNKEN,74,11,
                    154,1
    GROUPBOX        "XML Stylesheets (for exported XML files)",IDC_STATIC,12,
                    18,216,54
    CONTROL         "&Don't use stylesheets",IDC_XSL_NONE,"Button",
                    BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,18,30,205,10
    CONTROL         "&Stylesheet has same name as XML file (with .xsl extension)",
                    IDC_XSL_SAMENAME,"Button",BS_AUTORADIOBUTTON,18,42,205,
                    10
    CONTROL         "Always &use following stylesheet:",IDC_XSL_FIXED,"Button",
                    BS_AUTORADIOBUTTON,18,54,116,10
    EDITTEXT        IDC_STYLESHEET,133,53,81,12,ES_AUTOHSCROLL
    GROUPBOX        "Paths in Exported Files",IDC_STATIC,12,73,216,54
    CONTROL         "Use path relative to &workspace",IDC_PATH_DSW,"Button",
                    BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,18,85,205,10
    CONTROL         "Use path relative to &active filter",IDC_PATH_FILTER,
                    "Button",BS_AUTORADIOBUTTON,18,97,205,10
    CONTROL         "Use &full filename path",IDC_PATH_FULL,"Button",
                    BS_AUTORADIOBUTTON,18,109,205,10
END

IDD_OPTPAGE_FILES DIALOG DISCARDABLE  0, 0, 235, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Exclusions"
FONT 8, "MS Sans Serif"
BEGIN
    ICON            IDI_INFO,IDC_STATIC,7,108,20,20
    LTEXT           "Ignore the following files/paths/projects while parsing:",
                    IDC_STATIC,7,7,221,8
    LISTBOX         IDC_FILE_LIST,7,18,167,94,LBS_SORT | 
                    LBS_NOINTEGRALHEIGHT | LBS_WANTKEYBOARDINPUT | 
                    WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
    LTEXT           "See online help for processing rules.",IDC_STATIC,21,
                    119,114,8
    PUSHBUTTON      "&Insert",IDC_INSERTFILE,181,18,47,14,WS_GROUP
    PUSHBUTTON      "&Delete",IDC_DELETEFILE,181,36,47,14
    PUSHBUTTON      "&Undo",IDC_UNDO,181,56,47,14
    PUSHBUTTON      "&Clear All",IDC_CLEARALLFILES,182,112,46,15,WS_GROUP
END

IDD_FILESUMMARY DIALOG DISCARDABLE  0, 0, 186, 164
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "File Count Summary (by Extension)"
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "List1",IDC_LIST,"SysListView32",LVS_REPORT | 
                    LVS_SINGLESEL | WS_BORDER | WS_TABSTOP,7,7,172,128
    DEFPUSHBUTTON   "OK",IDOK,129,143,50,14
END

IDD_ABOUT_VC6 DIALOG DISCARDABLE  0, 0, 283, 138
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About Project Line Counter..."
FONT 8, "MS Sans Serif"
BEGIN
    ICON            IDR_MAINFRAME,IDC_STATIC,7,7,20,20
    LTEXT           "Project Line Counter  %s\nCopyright � 1999-2000 by Oz Solomonovich",
                    IDC_PLC_VER,45,7,231,8
    LTEXT           "Copyright � 1999-2003 by Oz Solomonovich",IDC_VERSION,
                    45,18,231,11,NOT WS_GROUP
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME | SS_SUNKEN,45,35,
                    231,1
    LTEXT           "Add-In Communication Library:",IDC_STATIC,45,41,102,8
    LTEXT           "%s",IDC_AIC_VER,147,41,123,8
    LTEXT           "Workspace Whiz! Interface:",IDC_STATIC,45,53,102,8
    LTEXT           "%s",IDC_WWI_VER,147,53,129,8
    LTEXT           "WWhiz! Interface - Copyright � 1997-2002 by Joshua C. Jensen",
                    IDC_VERSION2,45,66,231,11,NOT WS_GROUP
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME | SS_SUNKEN,45,79,
                    231,1
    LTEXT           "For the latest version see:",IDC_STATIC,45,84,90,8
    LTEXT           "http://www.wndtabs.com",IDC_WWW1,135,84,141,8
    LTEXT           "Workspace Whiz! is at:",IDC_STATIC,45,96,90,8
    LTEXT           "http://www.workspacewhiz.com",IDC_WWW2,135,96,142,8
    CONTROL         "",IDC_STATIC,"Static",SS_WHITERECT | SS_SUNKEN,7,117,6,
                    6
    CONTROL         "",IDC_STATIC,"Static",SS_WHITERECT | SS_SUNKEN,7,125,6,
                    6
    CONTROL         "",IDC_STATIC,"Static",SS_WHITERECT | SS_SUNKEN,15,125,6,
                    6
    DEFPUSHBUTTON   "OK",IDOK,226,117,50,14
END

IDD_OPTPAGE_EXTENSIONS DIALOG DISCARDABLE  0, 0, 235, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Extensions"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Count lines for files with these e&xtensions:",
                    IDC_STATIC,7,7,221,8
    PUSHBUTTON      "&Insert",IDC_INSERTEXT,181,18,47,14,WS_GROUP
    PUSHBUTTON      "&Delete",IDC_DELETEEXT,181,35,47,14
    PUSHBUTTON      "&Undo",IDC_UNDO,181,52,47,14
    PUSHBUTTON      "&Reset List",IDC_RESET,181,113,47,14,WS_GROUP
    CONTROL         "List1",IDC_EXT_LIST,"SysListView32",LVS_REPORT | 
                    LVS_SHOWSELALWAYS | LVS_SORTASCENDING | LVS_NOSORTHEADER | 
                    WS_BORDER | WS_TABSTOP,7,18,167,109
END

IDD_INSERT_FILE DIALOG DISCARDABLE  0, 0, 252, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Insert New File/Path Fragment"
FONT 8, "MS Sans Serif"
BEGIN
    ICON            IDI_INFO,IDC_STATIC,7,35,21,20
    LTEXT           "Enter file/path fragment to insert.  Wildcards (*, ?) are allowed.",
                    IDC_STATIC,7,7,238,8
    EDITTEXT        IDC_EDIT,7,20,238,14,ES_AUTOHSCROLL
    DEFPUSHBUTTON   "OK",IDOK,142,42,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,195,42,50,14
    LTEXT           "See online help for processing rules.",IDC_STATIC,22,45,
                    114,8
END

IDD_ABOUT_VC7 DIALOG DISCARDABLE  0, 0, 220, 67
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About Project Line Counter..."
FONT 8, "MS Sans Serif"
BEGIN
    ICON            IDR_MAINFRAME,-1,7,7,20,20
    LTEXT           "Project Line Counter .NET  %s\nCopyright � 1999-2000 by Oz Solomonovich",
                    IDC_PLC_VER,32,7,181,8
    LTEXT           "Copyright � 1999-2003 by Oz Solomonovich",IDC_VERSION,
                    32,18,181,11,NOT WS_GROUP
    LTEXT           "Download the latest version from:",-1,32,32,99,8
    LTEXT           "http://www.wndtabs.com",IDC_WWW1,134,32,77,8
    CONTROL         "",-1,"Static",SS_WHITERECT | SS_SUNKEN,7,46,6,6
    CONTROL         "",-1,"Static",SS_WHITERECT | SS_SUNKEN,7,54,6,6
    CONTROL         "",-1,"Static",SS_WHITERECT | SS_SUNKEN,15,54,6,6
    DEFPUSHBUTTON   "OK",IDOK,163,46,50,14
    LTEXT           "hidden url 2",IDC_WWW2,32,52,79,8,NOT WS_VISIBLE
END

IDD_OPTPAGE_STATS DIALOG DISCARDABLE  0, 0, 235, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Statistics"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Parsing",IDC_STATIC,7,7,24,8
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME | SS_SUNKEN,34,11,
                    194,1
    CONTROL         "&Parse comments",IDC_CHECKCOMMENTS,"Button",
                    BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,12,18,216,10
    CONTROL         "&Count blank lines separately",IDC_COUNTBLANK,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,12,29,216,10
    LTEXT           "Special files",IDC_STATIC,7,46,40,8
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME | SS_SUNKEN,50,50,
                    178,1
    LTEXT           "Include filtered files:",IDC_STATIC,12,57,77,8
    CONTROL         "In display &grid",IDC_INCFILTER_GRID,"Button",
                    BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,89,56,61,10
    CONTROL         "In &exported data",IDC_INCFILTER_EXPORT,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,150,56,78,10
    LTEXT           "Include erroneous files:",IDC_STATIC,12,71,72,8
    CONTROL         "&In display grid",IDC_INCBAD_GRID,"Button",
                    BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,89,70,61,10
    CONTROL         "In e&xported data",IDC_INCBAD_EXPORT,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,150,70,78,10
    LTEXT           "Misc",IDC_STATIC,7,87,16,8
    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME | SS_SUNKEN,25,91,
                    203,1
    LTEXT           "&Default Filter:",IDC_STATIC_DEFAULT_FILTER,12,98,42,12,
                    SS_CENTERIMAGE
    COMBOBOX        IDC_DEFAULT_FILTER,56,98,89,57,CBS_DROPDOWN | WS_VSCROLL | 
                    WS_TABSTOP
    LTEXT           "(for display grid)",IDC_STATIC_DEFAULT_FILTER2,150,98,
                    64,12,SS_CENTERIMAGE
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO MOVEABLE PURE 
BEGIN
    IDD_INSERT_EXT, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 215
        TOPMARGIN, 7
        BOTTOMMARGIN, 81
    END

    IDD_RESULTS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 357
        VERTGUIDE, 14
        VERTGUIDE, 26
        VERTGUIDE, 32
        VERTGUIDE, 350
        TOPMARGIN, 7
        BOTTOMMARGIN, 181
        HORZGUIDE, 117
    END

    IDD_PROGRESS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 179
        TOPMARGIN, 7
        BOTTOMMARGIN, 63
    END

    IDD_OPTPAGE_OPTIONS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 228
        VERTGUIDE, 12
        VERTGUIDE, 18
        VERTGUIDE, 223
        TOPMARGIN, 7
        BOTTOMMARGIN, 127
    END

    IDD_OPTPAGE_FILES, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 228
        VERTGUIDE, 174
        TOPMARGIN, 7
        BOTTOMMARGIN, 127
        HORZGUIDE, 18
        HORZGUIDE, 112
    END

    IDD_FILESUMMARY, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 179
        TOPMARGIN, 7
        BOTTOMMARGIN, 157
    END

    IDD_ABOUT_VC6, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 276
        VERTGUIDE, 45
        VERTGUIDE, 135
        VERTGUIDE, 147
        TOPMARGIN, 7
        BOTTOMMARGIN, 131
    END

    IDD_OPTPAGE_EXTENSIONS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 228
        TOPMARGIN, 7
        BOTTOMMARGIN, 127
        HORZGUIDE, 18
    END

    IDD_INSERT_FILE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 245
        TOPMARGIN, 7
        BOTTOMMARGIN, 56
    END

    IDD_ABOUT_VC7, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 213
        VERTGUIDE, 32
        TOPMARGIN, 7
        BOTTOMMARGIN, 60
    END

    IDD_OPTPAGE_STATS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 228
        VERTGUIDE, 12
        VERTGUIDE, 89
        VERTGUIDE, 150
        TOPMARGIN, 7
        BOTTOMMARGIN, 127
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// REGISTRY
//

IDR_REGISTRY_VC7        REGISTRY MOVEABLE PURE  "res\\LineCountVC7.rgs"
IDR_REGISTRY_VC6        REGISTRY MOVEABLE PURE  "res\\LineCountVC6.rgs"

/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//

IDD_GALLERY DLGINIT
BEGIN
    IDC_HTML, 0x376, 160, 0
0x0000, 0x0000, 0x004c, 0x0000, 0x29c1, 0x0000, 0x187f, 0x0000, 0x0000, 
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
0x0000, 0x0000, 0x004c, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0001, 
0x0000, 0xd0e0, 0x0057, 0x3573, 0x11cf, 0x69ae, 0x0008, 0x2e2b, 0x6212, 
0x0008, 0x0000, 0x0000, 0x0000, 0x004c, 0x0000, 0x1401, 0x0002, 0x0000, 
0x0000, 0x00c0, 0x0000, 0x0000, 0x4600, 0x0080, 0x0000, 0x0000, 0x0000, 
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0001, 0x0000, 
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
    0
END


/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_LINECOUNT_LONGNAME  "Project Line Counter"
    IDS_LINECOUNT_DESCRIPTION 
                            "Counts the number of lines in your source code projects"
    IDS_CMD_STRING          "\nProject Line Counter Console\nActivates the Project Line Counter console window\nProject Line Counter Console"
    IDS_CMD_STRING2         "\nCount Project Lines\nDisplays a line count of files in your project\nCount Project Lines"
    IDS_ERR_AICLOAD         "The line counter add-in requires the AddInComm (AIC.DLL)\nlibrary to function properly, but AIC.DLL failed to load.\nAborting."
    IDS_ERR_WWHIZLOAD       "The WorkspaceWhiz! Interface could not be loaded.  This component is required under VC5/6."
    IDS_MSG_PROGRESS_INIT   "Initializing..."
    IDS_MSG_PROGRESS_COUNTING "Counting - File %1 of %2 (%3%)"
    IDS_CSV_COLUMNS         "Project,File Path,File Name,File Extension,Total Lines,Code Lines,Comment Lines,Mixed Lines,Blank Lines"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_MSG_GOODEXPORT      "The data was successfully exported"
    IDS_MSG_EMPTYEXT        "Are you sure you want the ""empty"" extension to the list?"
    IDS_MSG_FIRSTDOTEXT     "You have specified a dot (.) as the first extension character.  This will match double dotted extensions (e.g. ""a..b"").\nDo you wish to use this extension?"
    IDS_ERR_BADCHAR         "You may not use any of the following characters: %1"
    IDS_ERR_EXTINUSE        "This extension is already in the list."
    IDS_WARN_SPECIAL_FILES_IN_EXPORT 
                            "Including special files in exported data may cause certain XSL templates to misbehave.\nAre you sure you want to do this?"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_APP_TITLE       "Line Counter Add-In"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_FILECOUNT           "Project Line Counter - Results shown for %1 file(s)"
    IDS_WRITEERROR          "Could not write to the file due to the following error:\n%1"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_PARSERNAME_CPP      "C/C++ style parser"
    IDS_PARSERNAME_VB       "Visual Basic parser"
    IDS_PARSERNAME_INI      "INI file parser"
    IDS_PARSERNAME_TXT      "Plain Text parser"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_PARSERNAME_MAK      "Makefile parser"
END

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// English (Canada) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENC)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_CAN
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_INFO                ICON    DISCARDABLE     "res\\info.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_GALLERY DIALOG DISCARDABLE  0, 0, 288, 178
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Stylesheet Gallery"
FONT 8, "MS Sans Serif"
BEGIN
    CTEXT           "(message)",IDC_MESSAGE,7,53,273,51
    CONTROL         "",IDC_HTML,"{8856F961-340A-11D0-A96B-00C04FD705A2}",NOT 
                    WS_VISIBLE | WS_TABSTOP,7,7,273,139
    DEFPUSHBUTTON   "OK",IDOK,230,157,50,14
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_GALLERY, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 280
        TOPMARGIN, 7
        BOTTOMMARGIN, 171
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//

IDD_GALLERY DLGINIT
BEGIN
    IDC_HTML, 0x376, 160, 0
0x0000, 0x0000, 0x004c, 0x0000, 0x2a60, 0x0000, 0x175c, 0x0000, 0x0000, 
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
0x0000, 0x0000, 0x004c, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0001, 
0x0000, 0xd0e0, 0x0057, 0x3573, 0x11cf, 0x69ae, 0x0008, 0x2e2b, 0x6212, 
0x0008, 0x0000, 0x0000, 0x0000, 0x004c, 0x0000, 0x1401, 0x0002, 0x0000, 
0x0000, 0x00c0, 0x0000, 0x0000, 0x4600, 0x0080, 0x0000, 0x0000, 0x0000, 
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0001, 0x0000, 
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
    0
END


/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_RESULTS MENU DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&Export Results...",          IDC_EXPORT
        MENUITEM SEPARATOR
        MENUITEM "&Preferences",                IDC_OPTIONS
        MENUITEM SEPARATOR
        MENUITEM "E&xit",                       IDOK
    END
    POPUP "&Statistics"
    BEGIN
        POPUP "F&ilter"
        BEGIN
            MENUITEM "Project1",                    ID_STATISTICS_FILTER1
            MENUITEM "Project99",                   ID_STATISTICS_FILTER99
        END
        MENUITEM "&File Summary",               IDC_FILESUMMARY
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&Contents",                   ID_HELP
        MENUITEM SEPARATOR
        MENUITEM "Stylesheet &Gallery",         ID_HELP_STYLESHEETGALLERY
        MENUITEM SEPARATOR
        MENUITEM "Check for New &Version",      ID_HELP_CHECKFORNEWVERSION
        POPUP "&Web Resources"
        BEGIN
            MENUITEM "&Line Counter Homepage on WndTabs.com", IDC_HOMEPAGE
            MENUITEM "&WndTabs.com Downloads Page", IDC_DOWNLOADS
        END
        MENUITEM SEPARATOR
        MENUITEM "&About",                      IDC_ABOUT
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// XSL
//

IDR_XSL_GALLERY         XSL     DISCARDABLE     "res\\gallery.xsl"
#endif    // English (Canada) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE 9, 1
#pragma code_page(1252)
#endif //_WIN32
#include "res\LineCount.rc2"  // non-Microsoft Visual C++ edited resources
#include "afxres.rc"         // Standard components
#endif
1 TYPELIB "LineCount.tlb"

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Oz Solomon
Experion
Canada Canada
You may know Oz from his WndTabs days. Oz has long since left client side development to work on web technologies and to consult in the R&D management field.

| Advertise | Privacy | Mobile
Web01 | 2.8.140922.1 | Last Updated 30 Jun 2003
Article Copyright 2000 by Oz Solomon
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid