Tools Links Login

Freeze a computer!

Ever want to freeze a computer? Well, here is some code to do it. It manipulates the API 'setparent'

Original Author: Brian Molidor

Side Effects

Well, Duh. your computer will freeze

Code

Public Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
function freeze_computer(frm as form)
call SetParent(frm.hwnd, frm.hwnd)
end function

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 91 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.