I was looking for something like this, and found it. So, i thought i would share it with anyone else needing it.
All you do is paste that into your form. Works perfectly.
Of course you could probably use this for some sort of malicious purpose but i was using it so they would have to Right Click > Exit instead of just being able to close the form. (There's a reason behind it.)
Have fun!
Spoiler (Click to View)
Code
Private Const CP_NOCLOSE_BUTTON As Integer = &H200
Protected Overrides ReadOnly Property CreateParams() As CreateParams
Get
Dim myCp As CreateParams = MyBase.CreateParams
myCp.ClassStyle = myCp.ClassStyle Or CP_NOCLOSE_BUTTON
Return myCp
End Get
End PropertyAll you do is paste that into your form. Works perfectly.
Of course you could probably use this for some sort of malicious purpose but i was using it so they would have to Right Click > Exit instead of just being able to close the form. (There's a reason behind it.)
Have fun!
Spoiler (Click to View)
Thread: Backend Web-Dev. - by SomeWhiteGuy
WATCH OUT 'LIL HOE,
MY PARTNA STILL SMOKE ON PAROLE
selling -
megabits.org + freakin.pro
WATCH OUT 'LIL HOE,
MY PARTNA STILL SMOKE ON PAROLE
selling -
megabits.org + freakin.pro

