Currently I want to play audio files in mp3 and I already have fragments of the code that theoretically should work.
Current Code:
using WMPLib; ------ Error
public void timerson() {
MessageBox.Show("Cada cierto tiempo segundos");
WindowsMediaPlayer myplayer = new WindowsMediaPlayer(); --- Error
myplayer.URL = @"C:\Users\david\Music\Cancion.mp3";
myplayer.controls.play();
}
Only the following error marks me:
Missing a using directive or an assembly reference