MZ-Tools 8.0 provides a new feature that allows a team lead to define the environment settings that should be standardized across all the computers of the team. For example:
- The Windows OS must be 10.0
- The VB6 IDE must have applied Service Pack 6.
- The tab width must be 3 characters.
- The Require Declaration setting is mandatory.
- The Office version must be 2016.
- The Office language must be US-English.
- The source code control repository must have some URL.
Then, each time that MZ-Tools 8.0 is loaded, it checks those settings and shows a warning to the developer if some setting is not the correct one. The settings are Registry-based, since Windows and Microsoft IDEs store the settings in the Windows registry. For example, VB6 stores its settings in this registry key:
While the VBA editor of Office uses this other one:
The development environment settings are defined in the Options window, Team Options tab, Development Environment Settings Review section:
That page allows you to create, edit, delete, activate or deactivate development environment setting reviews, and provides a handy “Run Active Reviews” button to check that they are correctly defined.
When you create a development environment setting review, you need to enter a description, the registry hive and key, a condition and a “How to fix” explanation for the developer:
When a development environment setting review fails, a dialog is shown to the developer, along with the procedure to fix it:
This feature is not only useful for teams, but also if you have more than one computer for development, or even if you need to format your only computer and want to have the same settings as before, provided that you have defined them previously and made a backup or you are using cloud based options.