I searched on the web for like 2-3 hours without finding what I was looking for. The first is a command to hide the application as soon as it is launched, without user implication. I have no problem using "Me.Hide()" in a button click event, but it won't do anything in Form1_Load.
The second is a way to shutdown the computer without having to use shutdown.exe (It only has to work on Windows XP...) I have to create a small application to prevent students to use applications like limewire or msn messenger while attending classes... the reboot is just in case they find the executable.
The second is a way to shutdown the computer without having to use shutdown.exe (It only has to work on Windows XP...) I have to create a small application to prevent students to use applications like limewire or msn messenger while attending classes... the reboot is just in case they find the executable.