473,473 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 6816
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Barkha Shah | last post by:
Hi All, I am looking for a tool/utility that converts the address into source code line. Purpose is that I have written a basic mfc application that purposely has a memory leak.Now at the exit...
4
by: M O J O | last post by:
Hi, I'm using a RichTextBox with WordWrap=True and MultiLine=False. When the text is to long, it fills more lines. How do I get the number of lines the text uses? Thanks!
2
by: mb1471 | last post by:
In the C programming language by K&R: In section 1.9 there is great focus on the line-count program and many of the problems at the end of that section involve editing it. Yet when I go to debug...
6
by: magix | last post by:
Hi, when I read entries in file i.e text file, how can I determine the first line and the last line ? I know the first line of entry can be filtered using counter, but how about the last line...
5
by: shapper | last post by:
Hello, I was checking some CSS code where I have the following CSS code line: vertical-align: expression("middle"); /* IE-Only property */ My IDE (Visual Studio) is not accepting this. It...
2
by: stef | last post by:
hello, doing a simulation of another language (JAL), I translate the other language into Python code, then I execute this converted Python code. Now I need todo some checks and give visual...
2
by: Brian Simmons | last post by:
Hi All, I'm hoping there's a quick and easy to accomplish this: I've got a CSV file (each row represents a record, and is followed by a NewLine). Is there any way (short of counting the...
16
by: lovecreatesbea... | last post by:
It takes mu so time to finish this C source code line count function. What do you think about it? / ******************************************************************************* * Function ...
15
by: postman | last post by:
Any idea why code would work as intended when setting a breakpoint and stepping through it line by line, but won't work correctly at run-time? The code is too much to post, so I hope this summary...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.