alexroge

Untitled

Jul 17th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. Set oWMP = CreateObject("WMPlayer.OCX.7" )
  2. Set colCDROMs = oWMP.cdromCollection
  3. if colCDROMs.Count >= 1 then
  4. For i = 0 to colCDROMs.Count - 1
  5. colCDROMs.Item(i).Eject
  6. Next ' cdrom
  7. End If
Advertisement
Add Comment
Please, Sign In to add comment