se your app, if it remains in run mode, call that function from the Immediate window and look at the output, so you can easily see which Form hasn't been unloaded, if any.: here i am using only one form and all other are classes.and there is a long object heirarchy and main thing is application isnot closing in the function where it started. 0 ?? ?? Share on Facebook dokken2 Posts: 532Member April