Introduction
I was recently involved in a project that has been housed in Visual SourceSafe (VSS) for the past 3 years of its development. The primary means of project documentation and change history was the comments in the version history of each and every single file, as they were checked in. To my dismay, Visual SourceSafe provides no way to search the comment field. Fortunately, there is a .NET library to communicate with Visual SourceSafe. I wrote a quick little utility to allow searching the comment field for a keyword.
Using the code
This solution is fairly straightforward. Instantiate a connection to a VSS database, and by using the IVSSItem object, you can iterate through the files and folders. IVSSITem objects have a "comment" property.
Points of Interest
Interestingly, the SourcSafe.Interop library will not register properly on Windows 7 64-bit. I hope to include an update to handle that issue.
History
This is the first version.