VS VB6 VB5 VBA
The section of the tab allows you to customize the Windows registry-based settings that will be reviewed by the Development Environment Settings Review feature on startup (for example indentation, tab vs spaces, versions of installed software or service packs, etc.):
To create a development environment setting review you use the following window:
In this window you enter the following properties:
- : a text describing briefly what the review checks.
- : the root of the Windows Registry to be used (HKEY_LOCAL_MACHINE for machine settings such as versions of installed software or HKEY_CURRENT_USER for user settings).
- : the leaf of the Registry that you want to check, typically some leaf of "Software\Microsoft".
- : you can check either the existence of a registry key, or some value inside a registry key.
- : a detailed explanation for the developer to fix the problem. While the review checks a Windows Registry setting, the fix should be done through the user interface of the affected software.
The window provides two useful buttons:
- : this button allows you to run the review to verify that it doesn't pass when you previously change the checked value to a wrong value.
- : this button allows you to run the tool (it requires admin rights) which is useful to guess where a setting is stored. For example, text editor user settings are stored in the "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\<version>\Text Editor" registry key, while the text editor user settings are stored in the "HKEY_CURRENT_USER\Software\Microsoft\VBA\<version>\Common" registry key.
- For 32-bit versions of Microsoft Windows, machine settings are stored in the "HKEY_LOCAL_MACHINE\Software" registry key.
- For 64-bit versions of Microsoft Windows:
- Machine settings of 64-bit applications are stored in the "HKEY_LOCAL_MACHINE\Software" registry key.
- Machine settings of 32-bit applications are stored in the "HKEY_LOCAL_MACHINE\Software\Wow6432Node" registry key. Since most software (including and ) is 32-bit, you should use this registry key.
- User settings are stored in the "HKEY_CURRENT_USER\Software" registry key for both 64-bit and 32-bit applications.
Development Environment Settings Review