Solved

exit the whole program. vb.net 2008

Posted on 2009-05-03
4
545 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

778 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