how to use a *.wav file which is added in project resourses

  • Thread starter Thread starter zafar
  • Start date Start date
Z

zafar

hi, I added a *.wav file in project resourses, but how can I access
that file, actually I want to play a sound, the method i am using for
this is my.computer.audio.play(path, -- ) . This method works for any
file whether it is on your hard disk or in your project resources..
but when I use that file,which is added in my project resources, it
does not appear in dorp down property menu... how can I access that
file from my project resources,,,, thanx for help,,,,
 
zafar said:
hi, I added a *.wav file in project resourses, but how can I access
that file, actually I want to play a sound, the method i am using for
this is my.computer.audio.play(path, -- ) . This method works for any
file whether it is on your hard disk or in your project resources..
but when I use that file,which is added in my project resources, it
does not appear in dorp down property menu... how can I access that
file from my project resources,,,, thanx for help,,,,

\\\
My.Computer.Audio.Play( _
My.Resources.Waterfall, _
AudioPlayMode.Background _
)
///
 
\\\
My.Computer.Audio.Play( _
My.Resources.Waterfall, _
AudioPlayMode.Background _
)
///

hi buddy, the mothod you sent to me have been tried by me.
My.Computer.Audio.Play( _
My.Resources.Waterfall, _
AudioPlayMode.Background _
)
in this method the "Waterfall" is the name of sound file, but when I
add a sound file in my project resources that does not appear in
My.Resources. (this file name does not appear).... plz can you tell me
what is the reason.
 
Back
Top