play sound1.wav from folder in startupup path
Posted: Thu Dec 30, 2010 4:17 am
well title says it all
this is the location it is in the startup folder
assets\sound1.wav
how can i play it
ive got this
this is the location it is in the startup folder
assets\sound1.wav
how can i play it
ive got this
Code: Select all
also when i put in the full location
My.Computer.Audio.Play(Application.StartupPath & "assets\sound1.wav")
Code: Select all
it works fineC:\Users\Zachary\Desktop\PROJECTNAMEREMOVED\PROJECTNAMEREMOVED\PROJECTNAMEREMOVED\bin\Debug\assets\sound1.wav