Guest Paul [MVP] Posted September 2, 2003 Report Share Posted September 2, 2003 The 'end' command does not seem to be supported in .NET CF for SmartPhone... So would I be right in saying that, in line with the Microsoft Logo Certification guidelines, you cannot 'quit' an application? P Link to comment Share on other sites More sharing options...
Guest Paul [MVP] Posted September 2, 2003 Report Share Posted September 2, 2003 OK, it's sad to answer your own question, but the function is: Application.Exit(); :) P Link to comment Share on other sites More sharing options...
Guest NeilC_MVP Posted September 2, 2003 Report Share Posted September 2, 2003 There's nothing like solving your own problems! Link to comment Share on other sites More sharing options...
Guest joelj Posted December 12, 2003 Report Share Posted December 12, 2003 I think you need to do a this.Close(); from the open form. When the last form is closed the app dies. Application.Exit() isn't great - it can bypass a bit of garbage collection. hth joel Link to comment Share on other sites More sharing options...
Guest ultimasnake Posted December 24, 2003 Report Share Posted December 24, 2003 this.dispose and then application.exit and maybe GC.collect before even the close... that is one of the best ways.. End doesnt exist in .net anymore (not even the full .net library) Link to comment Share on other sites More sharing options...
Guest NeilC_MVP Posted December 28, 2003 Report Share Posted December 28, 2003 As a best practice, it is not advisable to call GC.Collect() since the GC is asynchronous and may well be in the middle of a clean-up cycle when you call GC.Collect(). Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now