Dim Player As Media.Soundplayer("song.wav")
Player.Play()
Player.Stop()
I'd be interested to know exactly how you managed that.tahu191 said:I have used Media.Soundplayer in Vb 2003 using .Net Framework 1.1
What am I doing wrong while using this code?If you would like it to play then use this:
Code:
Dim Player As Media.Soundplayer("song.wav")
Player.Play()
Dim Player As Media.SoundPlayer = "sound.wav"
Player.Play()
Dim Player As [COLOR=darkgreen]NEW[/COLOR] Media.Soundplayer("song.wav")