Is there a command in VB that can shutdown the computer completely? Essentially, is there a VB command that simulates the "Shutdown" windows command?
What I need to do is write a piece of code that can be executed by MBM5 to shutdown the computer if the cpu gets too hot. MBM5 recommends a program to do this, but its shareware, and I don't think a program that shuts down a computer should cost anything (yea, I know, I paid for Windows
), so I want to write it myself. But I can't find the darn command to shutdown.
What I need to do is write a piece of code that can be executed by MBM5 to shutdown the computer if the cpu gets too hot. MBM5 recommends a program to do this, but its shareware, and I don't think a program that shuts down a computer should cost anything (yea, I know, I paid for Windows