Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I prevent a console application from being closed?

Status
Not open for further replies.

kevinf2349

Technical User
Sep 12, 2002
367
US
Is it possible (and if it is, how) to stop someone hitting a VB.NET console application CLOSE button, or to ignore if if they do?

I am writing an application that needs to be running all the time and I don't want anyone to be able to close the DOS window and terminate the application.

Any ideas on if this is even possible?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top