Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27311

Request :)

$
0
0
Hi I'm doing my (Final Year Project)FYP project, VB language!

Does anyone out there know how to disable minimize, maximize & close buttons on a form??, and also
1)ALT + F4
2)ALT + TAB
3)CTAL + ALT + DLT ?????

for the Close button, I've already manage to do it myself, see the coding below...

'Prevent User to close the form

If e.CloseReason = CloseReason.UserClosing Then
e.Cancel = True
End If

'Allow user to close the form

If Security = 1 Then
e.Cancel = False
End If

Someone Please Help Me :( Thank you.

Viewing all articles
Browse latest Browse all 27311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>