You will need to register the referenced executables before building, as shown in the sample. The filename found in a VBP reference line cannot be relied on, since it doesn't necessarily reflect where the executable actually is (only where the executable happened to be the last time the VBP was saved in the IDE). Also see
http://www.kinook.com/Forum/showthread.php?threadid=57 for some alternatives to dealing with VB6 compatibility issues for large applications.