Thread: PC PRANKS!!
View Single Post
Old 08-23-2005, 04:10 AM   #11
Geoff
Resident-in-Training
 
Join Date: Aug 2005
Posts: 7
Something cool i just learnt: Start a notepad doc. paste:

MsgBox "D:\ CONTAINS HARMFULL MATERIAL, INCLUDING VEGEMITE",vbcritical,"WARNING"


Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection

if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
End If


Where "Warning" and "D:\ CONTAINS HARMFULL MATERIAL, INCLUDING VEGEMITE" can be changed to suit. Save as blah.vbs - this will display error msg. and open optical drives!!- if Windows media player is installed!!Cool eh?
Geoff is offline   Reply With Quote