i am looking for a specific code that when i click a button the application will close.can any1 help me?:confused:
i need to a code to close the application
Started by imhaf123, Jan 22 2007 04:22 AM
3 replies to this topic
#1
Posted 22 January 2007 - 04:22 AM
|
|
|
#2
Guest_Jordan_*
Posted 22 January 2007 - 06:05 AM
Guest_Jordan_*
You want to close another application or close the application that you are building?
To Close your own Application:
To Close another application:
How to use Visual C# to close another application
To Close your own Application:
Application.Exit();
To Close another application:
How to use Visual C# to close another application
#3
Posted 23 January 2007 - 05:02 PM
if i wanna close my own application i muz type "Application.Exit ();"...the application is the name of the application or juz type "Application.Exit();"...i tried wat u wrote.seems cannot.the whole program juz like hang.i tink got run-time error.amazingly no syntax error
#4
Guest_Jordan_*
Posted 23 January 2007 - 06:29 PM
Guest_Jordan_*
If you are using C# just type Application.Exit() and it will exit.


Sign In
Create Account

Back to top









