darrenbooy
Member
- Joined
- Mar 16, 2009
- Messages
- 8
- Programming Experience
- Beginner
Hi,
I need to play a sound file: Sounds\open_creaky_door.wav"
However the code only works if I specify the EXACT location:
My.Computer.Audio.Play("c:\sounds\open_creaky_door.wav")
Is there a way I can set the relative path to something like this?
My.Computer.Audio.Play("\sounds\open_creaky_door.wav")
cheers
I need to play a sound file: Sounds\open_creaky_door.wav"
However the code only works if I specify the EXACT location:
My.Computer.Audio.Play("c:\sounds\open_creaky_door.wav")
Is there a way I can set the relative path to something like this?
My.Computer.Audio.Play("\sounds\open_creaky_door.wav")
cheers