Does anybody know how to issue a shutdown command via code in Windows XP? The old way (like in the VB-World demo) does not work.

Thanks in advance.