Navigation:  Actions > Microsoft > Make VB6 >

Make VB6 Action Versions Tab

Previous pageReturn to chapter overviewNext page

This tab of the Make VB6 action configures versioning and base address info to be applied.


Increment Version: The increment version option will increment the project version only if the project is built.  This ensures that your installs work correctly and copy updated files when comparing the file version.  If a project needs to be rebuilt (Force build was selected or the target is out of date), the action will increment the Revision Version Number in the project file before building.  The VB compiler stores the project version number in the FileVersion and ProductVersion fields of the version info.


Set Version: The set version option will set the project version to the specified value.  This is useful if you want your executables to be marked with a specific build number.  The version should be entered in the format 9.9.9 (e.g., 8.1.12).  The Major, Minor, and Revision numbers in the project file are set to the specified value before building.


Base Address: This action supports setting the base address of DLL and OCX projects.  Normally all projects are set to the same default address, requiring most of the DLLs to be "rebased" when they are loaded into a process.  By setting the base address on each project, your application will run faster since the relocation is eliminated.


If Random value is selected, a random address will be chosen for each project and the project file will be updated with that value (this is only done if the value is still set to its default value, so after the first time this is set it will not be changed again by Visual Build when a project is built again).  Since there are over 24,000 unique base addresses available, the likelihood is very good that each component loaded into a single process will get a unique address.


If Set to a specific value is selected, the base address for the project will be set to that value (it must be in the range 1000000 to 7000000 hex).  This option should only be used for single projects, not groups.