Solved

Play Audio CDs from CDChanger

Posted on 1998-08-13
2
125 Views
Last Modified: 2010-04-04
Hi there

I'm working on a program that can play mulitiply cds from a Teac 6xCDChanger.
The problem is that TMediaplayer that comes with Delphi only plays the CD from the first drive, how do I play songs from the other CDdrives?
0
Comment
Question by:koger
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 100 total points
ID: 1362022
koger,
 
 in fact that's easy, but not documented :

Change the filename property to point to the root directory of the cd drive you wish to play the cd from.

e.g. MediaPlayer1.FileName := 'E:';

Zif.
0
 

Author Comment

by:koger
ID: 1362023
Great :-) thanx
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HTML text in the body of an email (delphi code) 12 262
Firemonkey webbrowser scrollbars ? 1 73
DBCtrlGrid, Delphi, Scroll 7 35
Firemonkey Queue list 1 51
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question