469,271 Members | 997 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

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.
Jul 17 '05 #1
5 6675
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" <st********@yahoo.com> wrote in message
news:ca**************************@posting.google.c om...
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.

Jul 17 '05 #2

"Steve Gdula" <st********@yahoo.com> wrote in message
news:ca**************************@posting.google.c om...
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.


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.
Jul 17 '05 #3
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.
Jul 17 '05 #4
You're most welcome :-) glad to help

--
Stéphane Richard

"Steve Gdula" <st********@yahoo.com> wrote in message
news:ca**************************@posting.google.c om...
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.

Jul 17 '05 #5

"Steve Gdula" <st********@yahoo.com> wrote in message
news:ca**************************@posting.google.c om...
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.


Yeah, I know, same thing happens to me. Probably just wishing I did have that
kind of time - seems like I used to...
Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by M O J O | last post: by
2 posts views Thread by mb1471 | last post: by
6 posts views Thread by magix | last post: by
5 posts views Thread by shapper | last post: by
2 posts views Thread by Brian Simmons | last post: by
16 posts views Thread by lovecreatesbea... | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.