VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Shutdown Your Computer Using One Command Line Without Using API Functions

by Buddhika Fernando (9 Submissions)
Category: Windows System Services
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Sat 17th July 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Shutdown Your Computer Using One Command Line Without Using API Functions

API Declarations



OPTION EXPLICIT
'Dim SHL As New Shell32.Shell

Rate Shutdown Your Computer Using One Command Line Without Using API Functions



'Then Name It CmdShutdown
'
Private Sub CmdShutdown_Click ()
    Shl.ShutdownWindows
End Sub


Download this snippet    Add to My Saved Code

Shutdown Your Computer Using One Command Line Without Using API Functions Comments

No comments have been posted about Shutdown Your Computer Using One Command Line Without Using API Functions. Why not be the first to post a comment about Shutdown Your Computer Using One Command Line Without Using API Functions.

Post your comment

Subject:
Message:
0/1000 characters