Forum Moderators: open

Message Too Old, No Replies

CD Drive

How to open it by clicking a button

         

randomboy

7:52 pm on Apr 30, 2006 (gmt 0)

10+ Year Member



How do you open the cd/dvd drive by just clicking a button on a webpage?

randomboy

8:40 pm on Apr 30, 2006 (gmt 0)

10+ Year Member



basically i'm trying to create a webpage where you prees a button and the cd/dvd drive opens

kaled

12:18 am on May 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There may be an ActiveX control (IE only) that can do this, but I doubt there is any javascript code that can eject a disk - for one thing, you'd have to discover the drive letter first.

Kaled.

randomboy

9:38 am on May 1, 2006 (gmt 0)

10+ Year Member



would i be able to use visual basic?

RonPK

8:25 pm on May 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



VBscript, if it has to run in a web browser. But VBscript also does not control the CD drive (thank deity).

Try ejectDiskAndGetMeFreshCoffee() ;)

sorry, couldn't resist