Hiding Obvious Strings  Previous topicNext topicFirst topicLast topic



Hiding Obvious Resource Strings

Large projects will often contain hundreds or thousands of strings that are candidates for being moved to the Resource file. When reviewing which strings should be added to or disqualified from the Resource file, it is possible to hide obvious strings that definitely belong in the Resource file. Strings that are used for Caption, ToolTipText, and other obvious User Interface purposes can optionally be hidden from view. This makes it much easier to concentrate on the questionable strings that perhaps should not be moved to the Resource file.

In this example of the Visdata.vbp sample that Microsoft includes with Visual Basic, there are 972 resource strings but only 629 are unique strings that are candidates for being moved to the Resource file. Notice in the second screen how more than half the strings (384 of the 629) are optionally hidden. Most projects will have more than half their strings hidden. In fact, it is common to only see roughly 30% of a project's strings.

All Resource Strings Shown




384 Obvious Resource Strings Have Been Hidden