dvd open & close ??

  Petesilver 22:52 08 Jun 2004

can anyone advise if its possible to set up a key on the keyboard to open/close the DVD,,,,as the position of the button on the tower is not easy to get to when the flap is open ???
system is windows xp home.....DVD is sony DVD DW U10A
any help much appreciated

  Fruit Bat 22:55 08 Jun 2004

Usually the software to play the DVD (Power DVD) has an eject option click with mouse.

  Muckle 22:57 08 Jun 2004

In 'My Computer' you can right click the drive and select eject

  Gemma 23:07 08 Jun 2004

Opening is easy, just right click on the drive in Explorer and chose Eject from the context menu. Closing is harder as you will need a program to use the Windows API (application program interface), or a VB script talking to ActiveX to do it.

Here's one I cribbed earlier:

Example to close CD-ROM draw

Dim oATO : Set oATO = WScript.CreateObject("wshAPIToolkitObject.ucATO", "")

Const ssfDRIVES = &H11 ' namespace constant(drives folder = 17)...
Const cdromDrvLtr = "G:\" ' specify your cd-rom drive letter...

Set oSH = CreateObject("Shell.Application")

' close cd-rom drawer...
nRtn = oATO.CallAPI("WINMM.DLL", "mciSendStringA", "Set CDAudio door
closed", 0, 0, 0)

Find a freindly programmer........

  Gemma 23:09 08 Jun 2004

The formatting has gone to pieces but a programmer will understand.

  ton 23:23 08 Jun 2004

If you go to 'My Computer' and right click the drive icon, you can create a shortcut to eject. This will put a shortcut on the desktop that will open the tray. I assume that if you open the tray you will put in or remove a CD, then just lightly push the tray and it will then close.

  Fruit Bat 18:10 09 Jun 2004

Clicking the eject button on the DVD player software will both open and close the tray!!!

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

WPA2 hack: How secure is your Wi-Fi?

HP’s new Surface Pro rival is designed specifically for Adobe-using designers and artists

Best kids apps for iPhone & iPad

Que faire si son iPhone ou iPad est tombé dans de l'eau ?