Mega Code Archive

 
Categories / Delphi / VCL
 

How can i change the drive that mediaplayer uses to play audio

Question: How can I change the drive that MediaPlayer uses to play Audio CD's? Answer: Change the filename property to point to the root directory of the cd drive you wish to play the cd from. Example: MediaPlayer1.FileName := 'E:';