I want to insert an audio file in “Microsoft Visual Studio 2013”, I managed to convert my file extension * .rsf chosen, the brick can read, but I can not insert my vb.net code. I put in resources, but I do not know how to recover it, here is my code, but it does not work :
Private Async Sub BP_klaxon_Click(sender As Object, e As EventArgs) Handles BP_klaxon.Click
Await _brick.DirectCommand.PlaySoundAsync(100, My.Computer.Network.DownloadFile(textBox1.Text, "myfile.rsf"))
Await _brick.DirectCommand.PlaySoundAsync(100, "myfile.rsf")
Help me please, it’s very important !
Thank you in advance !