Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42220

application lock

$
0
0
I've got a application where on my menu i've got a option called "Lock"

My form will become disabled and a window form will open where a user has to enter their password correct to unlock the application (this allowing them to walk away and leave it running without locking the computer).

how can i prevent a user from closing this window form?

if they do the form is disabled so safe but pointless and annoying.

i show this form as a lockform.showdialog and after it's closed i do a check so see if the main form is enabled, if it's not I close the main form, again pointless and annoying.

How can I do this better?

Viewing all articles
Browse latest Browse all 42220

Trending Articles



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