PDA

View Full Version : Setting VB6 Version number using a Macro


MarkSchramm
11-29-2004, 06:47 PM
How would I use a macro to set a version number while compiling a VB6 component. I would like to synchronize a bunch of pieces with the same version number but don't want to have to change in a couple dozen places everytime.

kevina
11-29-2004, 07:46 PM
Perhaps you didn't specify the macro with the %Version% syntax? Not really sure but I've attached a very simple sample that demonstrates building a vb6 project with a specified version.

Just unzip it into a folder and run the Versioning.bld which will build the boilerplate vb6 project with the version specified in the VERSION macro.