exit the whole program. vb.net 2008

pls provide vb.net 2008 to exit or termimate the program.
aaronthamAsked:
Who is Participating?
 
vbturboConnect With a Mentor Commented:
this means

place this line of code in a button  event handler

System.Environment.Exit(System.Environment.ExitCode)

0
 
vbturboCommented:
Aborting the application and kill all running threads

BtnEndApp()
System.Environment.Exit(System.Environment.ExitCode)
End Sub
0
 
aaronthamAuthor Commented:
Hi vbturbo,

what is BtnEndApp() mean?

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.