This is fun tutorial , don't worry it will not cause any damage, its just to show you vbs programming magic.
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
loop
End If

Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.