Using "End" will cause problems. You need to unload all forms and make sure all the objects you've reference or created are set to Nothing.