Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Get path of included files in project

In a project a have a wav file that plays when you open it. I've included it in the project so it's packed into the executable. What I need to know is how do you access it? I'm playing the file on initial startup and I don't know how to use it.
put it into the resources.
https://msdn.microsoft.com/en-us/library...s.90).aspx
Lotta blood to let, peace to make, give a fuk about a check
Thanks, but how would you use it? I tried using

Code
My.Computer.Audio.Play(My.Resources.File)

But I get:

Code
Value of type 'UnmanagedMemoryStream' cannot be converted to 'String'.
https://msdn.microsoft.com/en-us/library...s.90).aspx
Lotta blood to let, peace to make, give a fuk about a check
Just forgot AudioPlayMode, my fault. Thanks!


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by nicodemoNov 3, 2019 08:25 AM 5 157 Nov 3, 2019 08:25 AM
Last Post: Anzee
[Java] by Account of the GodsAug 15, 2017 05:33 AM 6 301 Aug 15, 2017 05:33 AM
Last Post: Mohinder
[.NET] by _UnderDogDec 1, 2016 12:22 AM 2 309 Dec 1, 2016 12:22 AM
Last Post: _UnderDog