Im looking to play a sound from a folder which is in my debug directory.
I got this working for a PictureBox:
PictureBox1.ImageLocation() = ("Resources\picture.png")
But I cant find something to play a sound. This is what I had before:
My.Computer.Audio.Play("C:\Users\......\Sounds\beep-2.wav")
I dont really want to be writing the location of the files using special directories. Is there any way I can just set the location of the file to the directory in which the .exe is.