954,529 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help with "Application.Exit"

I wrote a piece of Winform Application. My problem is that When I call Application.Exit(), the program does not exits, but continues on the next line. I've tried Application.ExitThred(), but in Vain.

Does any of you tell me what is happening and if there is a way to solve it.

Thanks

Mahen
Junior Poster
144 posts since Aug 2004
Reputation Points: 10
Solved Threads: 2
 

Maybe you have some code line afterwards so, he's trying to finish the current procedure: Try an "return;" after your Application.Exit();

AndiOliver
Newbie Poster
2 posts since Jul 2006
Reputation Points: 10
Solved Threads: 0
 

i have the same problem

serkan sendur
Postaholic
Banned
2,062 posts since Jan 2008
Reputation Points: 854
Solved Threads: 127
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You