Simple module for your VB6 projects. This will gracefully close any application you specify.

Close Application VB6 Module