is there a way to play a sound in vb.net without using windows media player.
I have tried my.computer.audio.play but this appears to do nothing.
and I have tried axshockwaveflash.loadmovie(couldnt find an audio).play
I cant seem to find another alternative does anyone have any surggestions please
Using My.Computer.Audio.Play() should work – have you tried passing in the full (absolute) filename of a WAV file to see if this works. You can also have a look at this CodeProject article http://www.codeproject.com/KB/audio-video/soundplayerbug.aspx if you want to try another way of playing sound, although it shouldn’t be necessary to go to these lengths unless you are experiencing the problem mentioned in the article.