Solved

exit the whole program. vb.net 2008

Posted on 2009-05-03
4
552 Views
Last Modified: 2013-11-26
pls provide vb.net 2008 to exit or termimate the program.
0
Comment
Question by:aarontham
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 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