You mean to exit a program? Use the End command.

Code:
Private Sub Form_Load()

   End ' Exit the program

End Sub