Hello, how i can play an wav song from my Resources
In my Resources folder is:
Resources>songs>female>welcomef.wav
For example this wav to play
how to make it to play when form loads?
Printable View
Hello, how i can play an wav song from my Resources
In my Resources folder is:
Resources>songs>female>welcomef.wav
For example this wav to play
how to make it to play when form loads?
This thread is marked resolve with no posted resolution.
Is it resolved?
If you did figure out a solution to your issue, please post it. It could help others with the same, or similiar, problem.
Thanks.
If you just need something simple:
Code:Public Class Form1
Protected Overrides Sub OnLoad(ByVal e As System.EventArgs)
MyBase.OnLoad(e)
My.Computer.Audio.Play(My.Resources.MyAudioFile,
AudioPlayMode.Background)
End Sub
End Class