How to completely Exit an application

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2009
Posts: 38
Reputation: mundetas is an unknown quantity at this point 
Solved Threads: 0
mundetas mundetas is offline Offline
Light Poster

How to completely Exit an application

 
1
  #1
Jun 19th, 2009
I want my exit button on my application to close the app completely plus the process. to work like the close button in the control box.

I have used "this.close()" but that only closes the form.Can someone please assist me.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 898
Reputation: Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light Tekmaven is a glorious beacon of light 
Solved Threads: 26
Moderator
Tekmaven's Avatar
Tekmaven Tekmaven is offline Offline
The C# Man, Myth, Legend

Re: How to completely Exit an application

 
0
  #2
Jun 19th, 2009
  1. Application.Exit()

MSDN Doc: http://msdn.microsoft.com/en-us/libr...it(VS.71).aspx
-Ryan Hoffman

.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 38
Reputation: mundetas is an unknown quantity at this point 
Solved Threads: 0
mundetas mundetas is offline Offline
Light Poster

Re: How to completely Exit an application

 
0
  #3
Jun 19th, 2009
Thanks I will give it a shot and see what happens
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC