views:

479

answers:

1

One of the cool things about VB6 is that if you add a line numbers to your code is that the ERL function will return it if an error occurs.

I use MZ-Tools for VB6 to add line numbers to the entire project, which is really cool, however, it's a pain to work with code that is numbered. So I typically remove the lines while I work on it.

I was wondering whether there is a command line way to add/remove line numbers using either MZ-Tools or something else? I'd like to incorporate it into the build process.

Thanks.

+2  A: 

Googling turned up these tools which, apparently, are command-line tools that will add line numbers and then build the project. I haven't tried them.

You'd want to hook this up with your version control system and check in the line-numbered code.

BTW the VB6 discussion group is an excellent place to Google for this sort of stuff.

MarkJ