This is about complete shut down the computer, I never checked it, but maybe
you can check it yourself..
\\\Once contributed by Fergus Cooney to this newsgroup
I've looked on the Net and found some info for you.
I couldn't find anything in VB.NET but there is code in classic VB.
Here's an article with code in VB6 which you'll have to do a bit of work
on. (eg, remember that Longs are now Integers). It's in French. http://www.vbfrance.com/article.aspx?Val=8043