These are for more advanced delphi user's as i am not explaining how to add them into delphi (for beginners). sorry beginner's , but i will post a tut on how to shortly. i will also add more codes to this thread.
Open/close CD ROM
Code:
Uses mmsystem;
mciSendString('Set cdaudio door open wait', nil, 0, handle); to open
mciSendString('Set cdaudio door closed wait', nil, 0, handle); to close