Determine Code Line Count...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve Gdula

    Determine Code Line Count...

    Can anyone recommend a good way to get the count
    of the 'Number of Lines of Code' that are part of
    a vbProject. This should include all class and standard
    modules as well as the forms. If I can be picky, can
    you exclude blank lines? How do lines terminated with the
    underscore which continue on the next line affect your approach?

    Any help is truly appreciated.

    --Steve.
  • Stephane Richard

    #2
    Re: Determine Code Line Count...

    Hi Steve,

    www.mztools.com/ has mz-tools that among other very usefull tools has
    statistics to tell you exactly what you are asking for.

    Download it, install it, it's an add on tool bad for VB, it's freeware and
    does an excellent job. :-)

    --
    Stéphane


    "Steve Gdula" <stevegdula@yah oo.com> wrote in message
    news:cae000cd.0 310150924.2ec14 [email protected] gle.com...[color=blue]
    > Can anyone recommend a good way to get the count
    > of the 'Number of Lines of Code' that are part of
    > a vbProject. This should include all class and standard
    > modules as well as the forms. If I can be picky, can
    > you exclude blank lines? How do lines terminated with the
    > underscore which continue on the next line affect your approach?
    >
    > Any help is truly appreciated.
    >
    > --Steve.[/color]


    Comment

    • Steve Gerrard

      #3
      Re: Determine Code Line Count...


      "Steve Gdula" <stevegdula@yah oo.com> wrote in message
      news:cae000cd.0 310150924.2ec14 [email protected] gle.com...[color=blue]
      > Can anyone recommend a good way to get the count
      > of the 'Number of Lines of Code' that are part of
      > a vbProject. This should include all class and standard
      > modules as well as the forms. If I can be picky, can
      > you exclude blank lines? How do lines terminated with the
      > underscore which continue on the next line affect your approach?
      >
      > Any help is truly appreciated.
      >
      > --Steve.[/color]

      Not to be a wise guy, or anything, but this is just the sort of little app that
      a VB programmer should want to whip up on the side just for fun. Every week you
      add a new feature or option. VB code is stored in plain old ASCII text, easy to
      read in. Then you get to decide what to do with the form data that's not really
      code, and blank lines, and comment lines with only the ' character, and line
      continuations, and so on.


      Comment

      • Steve Gdula

        #4
        Re: Determine Code Line Count...

        Stephane,

        Thanks for your link to that add-in site.
        I've loaded the tools and it works magnificently!
        I does what I needed and a whole lot more. :)

        Also,

        Mr. Gerrard I hear what you are saying, but I am
        already involved in a project that has been taking
        all my spare time for months. Plus I have little
        conceptual projects that have been hanging in limbo
        forever...etc. It all comes down to time. ;)

        --The other Steve.

        Comment

        • Stephane Richard

          #5
          Re: Determine Code Line Count...

          You're most welcome :-) glad to help

          --
          Stéphane Richard

          "Steve Gdula" <stevegdula@yah oo.com> wrote in message
          news:cae000cd.0 310160920.47b63 [email protected] gle.com...[color=blue]
          > Stephane,
          >
          > Thanks for your link to that add-in site.
          > I've loaded the tools and it works magnificently!
          > I does what I needed and a whole lot more. :)
          >
          > Also,
          >
          > Mr. Gerrard I hear what you are saying, but I am
          > already involved in a project that has been taking
          > all my spare time for months. Plus I have little
          > conceptual projects that have been hanging in limbo
          > forever...etc. It all comes down to time. ;)
          >
          > --The other Steve.[/color]


          Comment

          • Steve Gerrard

            #6
            Re: Determine Code Line Count...


            "Steve Gdula" <stevegdula@yah oo.com> wrote in message
            news:cae000cd.0 310160920.47b63 [email protected] gle.com...[color=blue]
            > Stephane,
            >
            > Thanks for your link to that add-in site.
            > I've loaded the tools and it works magnificently!
            > I does what I needed and a whole lot more. :)
            >
            > Also,
            >
            > Mr. Gerrard I hear what you are saying, but I am
            > already involved in a project that has been taking
            > all my spare time for months. Plus I have little
            > conceptual projects that have been hanging in limbo
            > forever...etc. It all comes down to time. ;)
            >
            > --The other Steve.[/color]

            Yeah, I know, same thing happens to me. Probably just wishing I did have that
            kind of time - seems like I used to...


            Comment

            Working...