The Cellar  

Go Back   The Cellar > Main > Technology

Technology Computing, programming, science, electronics, telecommunications, etc.

Reply
 
Thread Tools Display Modes
Old 08-23-2005, 04:10 AM   #1
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
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 01:52 AM.


Powered by: vBulletin Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.