Solved

exit the whole program. vb.net 2008

Posted on 2009-05-03
4
544 Views
Last Modified: 2013-11-26
pls provide vb.net 2008 to exit or termimate the program.
0
Comment
Question by:aarontham
  • 2
4 Comments
 
LVL 31

Expert Comment

by:Frosty555
ID: 24288959
0
 
LVL 18

Expert Comment

by:vbturbo
ID: 24290621
Aborting the application and kill all running threads

BtnEndApp()
System.Environment.Exit(System.Environment.ExitCode)
End Sub
0
 

Author Comment

by:aarontham
ID: 24292408
Hi vbturbo,

what is BtnEndApp() mean?

0
 
LVL 18

Accepted Solution

by:
vbturbo earned 500 total points
ID: 24292596
this means

place this line of code in a button  event handler

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

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now