Development Environment Settings Review Options

Top  Previous  Next

 VS   VB6   VB5   VBA 

The Development Environment Settings Review section of the Team Options 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.):

DevelopmentEnvironmentSettingsReview

To create a development environment setting review you use the following window:

DevelopmentEnvironmentSettingReview

In this window you enter the following properties:

  • Description: a text describing briefly what the review checks.
     
  • Registry hive: 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).
     
  • Registry key: the leaf of the Registry that you want to check, typically some leaf of "Software\Microsoft".
     
  • Condition: you can check either the existence of a registry key, or some value inside a registry key.
     
  • How to fix: 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:

  • Run Review: 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.
     
  • Run RegEdit.exe: this button allows you to run the regedit.exe tool (it requires admin rights) which is useful to guess where a setting is stored. For example, Visual Studio text editor user settings are stored in the "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\<version>\Text Editor" registry key, while the VBA text editor user settings are stored in the "HKEY_CURRENT_USER\Software\Microsoft\VBA\<version>\Common" registry key.

Remarks:

  • 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 Visual Studio and VB5/VB6) 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.

See Also:

Development Environment Settings Review