求恐怖的整人小程序

求恐怖的整人小程序,第1张

程序会截取当前电脑画面,然后全屏显示,你双击第一次它会警告你说你已经中缺薯闹毒,然后出现黑屏,再次双击会告诉你“sb上当了吧”,然后退出程序!哈哈。。很整人的!你自己运行了就知道了,决不损坏你的电脑!

你需要做的很简单,只要两个窗体就可以,form1和form2的borderstyle都设置成0,autoredraw属性都设置成true,form2的windowstate设置伏罩成2,backcolor设置成黑色就可以了,然后复制下面代码:

form1代码:

Option Explicit

Dim screenhwnd, screendc

Private Declare Function BitBlt Lib "gdi32" (ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long '以手册下API函数可以通过VB自带的API文本浏览器复制而来。

Private Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long

Private Declare Function GetDesktopWindow Lib "user32" () As Long

Private Declare Function ReleaseDC Lib "user32" (ByVal hwnd As Long, ByVal hdc As Long) As Long

Private Sub Form_DblClick()

MsgBox "电脑中了病毒,请重装系统!", vbCritical, "严重警告"

Unload Me

Form2.Show

End Sub

Private Sub Form_Load()

Me.Width = Screen.Width

Me.Height = Screen.Height

Me.Left = 0

Me.Top = 0

Me.ZOrder 0

App.TaskVisible = False

screenhwnd = GetDesktopWindow()

screendc = GetDC(screenhwnd)

BitBlt Me.hdc, 0, 0, Me.Width, Me.Height, screendc, 0, 0, &HCC0020

ReleaseDC screenhwnd, screendc

End Sub

form2代码:

Private Sub Form_DblClick()

MsgBox "sb上当了吧,按‘确定’退出", , "玩笑"

End

End Sub

这个比较整人的,VB程序。

整人小程序:说我是猪就不关机

程序, 整人

on error resume next

dim WSHshellA

set WSHshellA = wscript.createobject("wscript.shell")

WSHshellA.run "数好cmd.exe /c shutdown -r -t 60 -c ""快说“我是猪”,不说我是猪就一分钟关你机,不信,试试···"" ",0 ,true

dim a

do while(a <>"我是猪")

a = inputbox ("说我是猪,就不关机,快撒,说 ""我是猪"" ","说不说","不说",8000,7000)

msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"

loop

msgbox chr(13) + chr(13) + chr(13) + "早说就行了嘛"

dim WSHshell

set WSHshell = wscript.createobject("wscript.shell")

WSHshell.run "cmd.exe /c shutdown -a",0 ,true

msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,真过瘾"

msgbox chr(13) + chr(13) + chr(13) + "乖孩子真听州毕拿话啊"

msgbox chr(13) + chr(13) + chr(13) + "下次叔叔买糖给你吃"

msgbox chr(13) + chr(13) + chr(13) + "要吃什么糖啊"

msgbox chr(13) + chr(13) + chr(13) + "什么,大白兔?"

msgbox chr(13) + chr(13) + chr(13) + "不行,不行,大白兔吃了长石头啊"

msgbox chr(13) + chr(13) + chr(13) + "要不叔叔给你讲个故事"

msgbox chr(13) + chr(13) + chr(13) + "从前有个山"

msgbox chr(13) + chr(13) + chr(13) + "山里有个庙"

msgbox chr(13) + chr(13) + chr(13) + "庙里有个老和尚"

msgbox chr(13) + chr(13) + chr(13) + "老和尚在给小和尚讲故事"

msgbox chr(13) + chr(13) + chr(13) + "讲什么故事呢"

msgbox chr(13) + chr(13) + chr(13) + "故事是这样的"

msgbox chr(13) + chr(13) + chr(13) + "从前有个山"

msgbox chr(13) + chr(13) + chr(13) + "山里有个庙"

msgbox chr(13) + chr(13) + chr(13) + "庙里有个老和尚"

msgbox chr(13) + chr(13) + chr(13) + "什么,不听了"

msgbox chr(13) + chr(13) + chr(13) + "别哭别哭,叔叔给你买糖!"

复制代册搭码一个整人的小代码,“说我是猪就不关机”

把上面的代码复制到记事本里,把后缀名改成.VBE

把它放到开始启动里

别人就算调出任务管理器也关不掉

注销也不行


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/12312485.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-24
下一篇 2023-05-24

发表评论

登录后才能评论

评论列表(0条)

保存