Hi, I am looking to play a wave file in visual basic. I would like it to play from the resource file. I have added the wave file but how do I get it to play? I do have this code.
Thanks
Code:
Dim Sound As New System.Media.SoundPlayer() Sound.SoundLocation = “your path to the .wav file” ‘ex.: c:\mysound.wav Sound.Load() Sound.Play()
Comment