VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Shut Down the Computer

by Chameleon (1 Submission)
Category: Windows System Services
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (12 Votes)

This just show how Simple it is to shut down the a Windows Computer.. Simple.. People have asked for this now here it is. Please Rate this code it will help me alot.. Thank you

Rate Shut Down the Computer

' this just shells out to Run a windows file
' That windows uses to Shut the Computer down......
Shell "Rundll32 shell32.dll,SHExitWindowsEx 2", vbHide

Download this snippet    Add to My Saved Code

Shut Down the Computer Comments

No comments have been posted about Shut Down the Computer. Why not be the first to post a comment about Shut Down the Computer.

Post your comment

Subject:
Message:
0/1000 characters