View Single Post
  #3  
Old 10-02-2008, 07:10 AM
DavidNL DavidNL is online now
Registered User
 
Join Date: 09-12-2008
Posts: 6
Hi kinook,

Thanks for your reply and the examples, they helped me to get started.
I almost got my project finished now..

However, it didn't go as easy as i thought because i ran into a few problems;

1. The %VS6_PROJ_VER% variable returns the current version number, not the "next" version number.
I assume this is because I don't have "Auto increment" enabled in the VB6 project properties.
The reason i haven't enabled this is because in "Develop builds" i have to increment the Minor part of the version (MyApp 5.1.0.exe, MyApp 5.2.0.exe, etc) whereas in "Release builds" i have to increment the Revision part of the version (MyApp 5.2.1.exe, MyApp 5.2.2.exe, etc).

I guess to be able to do this, i'll have to manually edit the VBP file and change the corresponding properties (MajorVer=x, MinorVer=y, RevisionVer=z).

Would have been a lot easier if i could "configure" which of the 3 i want to increment when building in VisualBuild.

But then again, that would have been too perfect i guess... :-)

2.
When i build a new .exe and specify a new filename, i have to manually rename the file in SourceSafe (when compiling manually in Vb6 this happens automatically.)
Also, the SourceSafe Rename command is not available in VisualBuild (no idea why because it does have a lot of the other more uncommon commands..), but i will do this by calling the ss.exe manually.


Thanks again,
regards David.
Reply With Quote