Building VB6 group project from the command line

Tech-Archive recommends: Fix windows errors by optimizing your registry



I am building a VB6 project group from the command line. I want this to be completely automated (i.e. a batch process). However, when an error occurs in the build - VB6 displays a dialog box - which requires human intervention - is there anyway to let VB run in silent mode - (preferabaly returning an error code at the end of the build?)
.