Hi I am developing an application to play video files. I try to use Windows media player as a reference in my application. The following is the code I am trying to use to play the video files. it gives an exception. please help me.
Anushka
MediaPlayer.
{
pl.DisplaySize =
pl.ShowAudioControls =
pl.FileName =
pl.Open(
pl.ShowDialog(
pl.ShowDisplay =
pl.Play();
}