And basically, placing an End in the main form's Terminate event shouldn't have an advantage; that's likely the last event to fire. If your project does not close properly, End is a novice solution. The real solution is to determine why and there are several causes for such a scenario.