views:

255

answers:

1

How to lock the screen (most important), change the sound, lock the keyboard and etc using VB.NNET?

I know it's quite easy to do it using C++ .Net

+2  A: 

What you are trying to do is a P/Invoke. You will have to look up the specific API calls you want to implement and use them.

Here is some info on P/Invoke.

FYI, if you are planning anything anything malicious (it sounds like you might be), please don't.

Daniel A. White
I am going to lock my students' pc. Remotely. *Evil grin* Thanks for the info.
henry
Theres some programs out there already.
Daniel A. White
http://www2.smarttech.com/st/en-US/Products/SynchronEyes+Classroom+Management+Software/default.htm
Daniel A. White