Solved

exit the whole program. vb.net 2008

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

8 Experts available now in Live!

Get 1:1 Help Now