Darc Posted November 22, 2003 Posted November 22, 2003 I've never known the difference between all of them so if someone could help it would be great. I know of End, Application.Exit() and System.Environment.Exit(System.Environment.Exitcode) but I don't understand the difference at all. Quote
bpayne111 Posted November 23, 2003 Posted November 23, 2003 I think .NET dumped the End Keyword... as for the other 2, check the knowledge base or help files for some extra information. (if i am wrong about the End keyword someone please correct me) Good Luck Brandon Quote i'm not lazy i'm just resting before i get tired.
Darc Posted November 23, 2003 Author Posted November 23, 2003 End works sometimes, but not always, it's kinda weird... Quote
Moderators Robby Posted November 23, 2003 Moderators Posted November 23, 2003 Don't use END ! If you have files or databases active they will not close properly. Quote Visit...Bassic Software
Darc Posted November 23, 2003 Author Posted November 23, 2003 ok then, which do I use of Application.Exit() and Exit(ExitCode) ? Quote
Moderators Robby Posted November 23, 2003 Moderators Posted November 23, 2003 Form1.Close() Quote Visit...Bassic Software
PROKA Posted November 24, 2003 Posted November 24, 2003 Me.Close() if u write the code within the form u want to close :) Quote Development & Research Department @ Elven Soft
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.