Skip to content

Instantly share code, notes, and snippets.

@pmachapman
Created May 14, 2015 09:48
Show Gist options
  • Save pmachapman/44245cc33eddb624aef9 to your computer and use it in GitHub Desktop.
Save pmachapman/44245cc33eddb624aef9 to your computer and use it in GitHub Desktop.
Ejects the CD-ROM Drive
Set player = CreateObject("WMPlayer.OCX")
player.cdromCollection.item(0).eject()
Set player = Nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment