Programmatically upgrading project OCX version reference
I work on a program composed of a couple dozen activex DLLs. Whenever I break compatibility on a low-level DLL, I find myself recompiling all of the other ones. Not only that, but I need to switch off binary compatibility (even on the other DLLs, despite the fact that their damn interface is the same) or the recompile fails.
So I've written a simple program to recompile the entire project in the correct order via vb6 /make, with project compatibility. The problem is that a project will fail to compile if the stored version of an OCX is too low (if you open the project in vb6 it automatically checks versions and updates for you).
Because all the OCX files must be recompiled with project compatibility, their version number increases. Therefore I need a way to assign the correct version number of my OCXs. I would prefer not to simply add 1 to the current version each time and wait for it to fail one day.