Anyone know the command to eject and close CD tray?

vbimport

#1

Hey I want to map some of the multimedia keys on my Internet Keyboard Pro keyboard to open and close my CD trays. Does anyone know what the commands are? I have my 2 drives on D: and E:. I would like to set it so that when I press the button once it will open the tray and when I press it again it will close it. Can this be done?