Check the project properties... on the Applications tab... there's an option for Shutdown mode ... it should be when the main form closes, or when all forms are closed, which ever is more appropriate... after that, you need to ensure that you're properly closing all your forms and/or other objects that maybe running... that's what is keeping the app going even after closing the form. Also hiding forms doesn't close them... it simply makes them hidden... so if you're hiding and forms, then they too may be part of the problem.

-tg