5

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.

4

2 回答 2

4

I once downloaded a great tool for line numbering VB6 applications during the build process (I think from a forum) but I've since lost the original location and author. I went and posted the tool here on my blog, at least until someone tells me where the original code is, and who the author was.

It's a GUI tool with a command line interface and Windows shell integration. Not bad. It comes with the source code in VB6, so it's pretty nifty. I've used it successfully.

于 2012-06-20T12:35:07.080 回答
4

谷歌搜索发现了这些工具,这些工具显然是命令行工具,可以添加行号然后构建项目。我没试过。

您希望将其与您的版本控制系统挂钩并签入行号代码。

顺便说一句,VB6 讨论组是谷歌这类东西的好地方。

于 2009-03-24T10:05:20.363 回答