-->

How to set complete build number in VB6 (Major.Min

2019-02-24 07:56发布

问题:

How to set the complete version number from vb6 (VPIaccessMaker.vbg),from Visual Basic i can set Major.Minor.Revision as 3.2.2 in that case my exe version will be 3.2.0.2.How to set build number in this case like 3.2.1.2.

回答1:

You can use the vbAdvance add-in which allows the setting of the version build. It is now freeware, but no longer supported. You can learn more and download it here.



回答2:

Answer is you can't with native VB6.

Note that you can do this in VB.NET but not in VB6 - See this page from MSDN for differences between VB6 and VB.NET projects with regard to version numbering.

You could possibly alter the version of the compiled exe- see this question for some suggestions on this:

How do I set the version information for an existing .exe, .dll?