The ContinuousIntegration sample demonstrates using the VSS History command to check for changes since the previous build (you don't have to have the build run continuously -- you could instead manually launch it or schedule it to run on some regular basis).
http://www.kinook.com/VisBuildPro/Ma...ntegsample.htm