Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (anonymous):

Guys, i need to make a password-protected filter for windows, using VB, which locks the window down on some specific events...like inactivity for 15 mins etc...what i don't know is 'where does the vb program has to go to find signal for locking down'....i don't know if it made sense..and i m talking about windows 7/8

OpenStudy (espex):

Most likely you will need to simply make a system call to the OS. If you are talking about a specific "window" of an application, you will have to write an overlay that forces focus of the application to your "lock" and release it when your conditions are met. I cannot think of a single default application that locks its window so I would not expect to find that functionality as part of the Windows libraries.

OpenStudy (e.mccormick):

Are you trying to lock the computer, or just access inside the program? If the computer, might be as simple as forcing a logout, but would reply upon the system being setup properly. If locking a program, simple. Have the program use a menu structure that appears after a login. If the person is inactive, save what menu they were at, clear all the menus out, put up the login screen. If they log back in, use what was saved to return them to the same menu.

OpenStudy (e.mccormick):

Look into the shutdown command. It has different levels.

OpenStudy (e.mccormick):

Search for .NET solutions. You may get C# results as well as VB, but if you know the command you can look it up on Mifrosoft's development web site. They generally show how the code can be done in different .NET languages.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!