Microsoft Developer Network > Página Inicial dos Fóruns > .NET Base Class Library > C# code to auto detect and play audio files from the CDROM Drive with Media Player
Fazer uma PerguntaFazer uma Pergunta
 

RespondidoC# code to auto detect and play audio files from the CDROM Drive with Media Player

  • terça-feira, 3 de novembro de 2009 16:02once3007 Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    Hello All,

    I'm using Media Player in my C# code to play audio files. What I would like is the code that will allow 'Media Player to auto detect and play audio files from the CDROM Drive' without the need to specify the name of audio file like this: axWindowsMediaPlayer1.URL = drive:\wave.wma.

    I hope this is possible in C#.

Respostas

Todas as Respostas