Post4VPS Forum | Free VPS Provider
How to make application uncloseable in visual basic - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: Geek World (https://post4vps.com/Forum-Geek-World)
+--- Forum: Scripting & Programming (https://post4vps.com/Forum-Scripting-Programming)
+--- Thread: How to make application uncloseable in visual basic (/Thread-How-to-make-application-uncloseable-in-visual-basic)



How to make application uncloseable in visual basic - humanpuff69 - 04-15-2017

Requirement:
Visual Studio / basic 2005+

How to make it uncloseable:
1.make a project or open your project
2.press the yelow lightning in form 1 and find Formclosing
3.double click formclosing
4.type e.cancel = true in the Form1_formclosing
5.now debug the application and try to closse it

thanks for viewing this thread
hope it useful


RE: How to make application uncloseable in visual basic - LazzyBoy - 04-15-2017

Is this suppost to be a tutorial or something lol , atleast you could make it with photos or something else it really would make it beautiful.


RE: How to make application uncloseable in visual basic - kubanek_kuba - 04-16-2017

Uncloseable by X in right corner? Or uncloseable totally? If only by X it can be use to make custom GUI which custom close button.


RE: How to make application uncloseable in visual basic - humanpuff69 - 04-16-2017

the x button still there but if you click it it will not close the program
and if you do alt + f4 it will not close the program . the only way to close it is using task manager or crashing the application

i actually planned to make a video version . comin soon


RE: How to make application uncloseable in visual basic - LazzyBoy - 04-16-2017

well some VB stuff are always welcomed at me since im trying to learn them myself so Big Grin ill be watching you


RE: How to make application uncloseable in visual basic - humanpuff69 - 04-17-2017

im not promoting my youtube channel but i do lot of progamming stuff but now i already quit youtube so no more content but if you like vb programming a lot i have a lot of vb program here
http://youtube.com/humanpuff69


RE: How to make application uncloseable in visual basic - Golden - 06-04-2017

I just tried this out and it helped me to prevent my application from closing. This guide is useful but it would be even better if you included some screenshots.

Thank you!


RE: How to make application uncloseable in visual basic - humanpuff69 - 06-04-2017

(06-04-2017, 12:44 PM)Golden Wrote: I just tried this out and it helped me to prevent my application from closing. This guide is useful but it would be even better if you included some screenshots.

Thank you!

well this is my first turoial and i forget to bring screenshot . sorry for inconvinience but my future tutorial already have screenshot included