Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to find out the number of lines in my VB program?

Status
Not open for further replies.

jasontektips

Programmer
May 30, 2003
23
SG
Hi,

Appreciate it if anyone can advise me if I want to find out the total number of lines(of code) in my .vbp(including files like .frm, .cls etc).

I suppose the manual way is to copy and paste the program(after launching VB) in a text editor that will show the total number of lines. This could be very tedious, especially when I have many many .vbp files that consist of many many .frm and .cls files within them.

Many Thanks in advance :)

Jason
 
Many VB programmers already use a utility called MZTools from:

The statisics tool built into MZ will provide analysis of the whole project, including line counts, comment line counts, procedures and controls.

Although I can't find a use for that particular tool, there are lots of other (useful) goodies in the package.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
more importantly, this has been discussed in depth (deep enpugh to DROWN the subjecy -I wish) here in these (Tek-Tips) fora. as well as many / numerous places. The nearly universal conclusion is that the 'information' is totally meaningless.




MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top