Win
July 2nd, 2004, 10:20 AM
As the title says, is there a convenient way to count how many lines of code in a VB.NET project? Thanks for help.
|
Click to See Complete Forum and Search --> : How to count the total number of code lines in a VB.NET project? Win July 2nd, 2004, 10:20 AM As the title says, is there a convenient way to count how many lines of code in a VB.NET project? Thanks for help. rl5655 July 5th, 2004, 01:28 AM hi It is not the strait forward but save the*.vb as *.txt open it in word go to file > properties> statistic and see the line # * it will count remarks also roni Asad Naeem July 5th, 2004, 02:10 AM First of all delete spaces between the lines of codes, then write every code line on individual line. then at the status bar you can see the line numbers where your cursor will be. Reach at the end of the line and in this way you can see the number of lines in your code. Best of luck Asad Naeem Ravenz July 5th, 2004, 02:41 AM Now what's the purpose for knowing how many lines of code you have? If you have a lot more code for the same project, then that would actually show more less skill at programming than the person that did the same project with less code. Also comments & white space really differs, because like I use a lot of comments & white space, so competing against me..I'd be champion of the world programmer! :D Boumxyz2 July 5th, 2004, 03:19 PM Hum for you less code means you're a better programmer ? I think that you're mistaken there. My code might be more voluminous because I do more validations and also because I might put more comments. I might also make my code more General ( meaning I use parameters and the like ) so I don't have to rewrite it, which might also make my project Bigger (and in that case you need to validate the parameters ) Does that mean I'm a worse programmer ? if so then you're mistaken. Craig Gemmill July 5th, 2004, 06:34 PM It's about time we got some energy in the VB.NET forum! I've attached an app that should do everything you need, but if not, it's pretty easy to modify. ps. UI of the year! codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |