Interview Question in Visual Studio 2005
Interview Question :: How to use win32 api in vb.net |
Hey everyone, i have a programming class at school and when i have to get up to go ask the teacher something, the guys around me mess up and delete my programs all the time. i'm sick and tired of it, so i wrote a visual basic 2005 express program that locks the computer using
Public Declare Sub LockWorkStation Lib "user32" ()
but when i try to execute it at my school (they do whatever they can to stop us from locking it because they're afraid someone will lock and leave) it doesn't work! is there any other way to do this? other than, of course, re-coding the entire darned lockworkstation? much thanks appreciated in advance.
--additon: the only resources i have are microsoft's visual studio express versions |
|
|
|

Loading ...