Excuse me each
VB.net can only add wav as a resource file Resource1. Resx embedded
If I want to play the embedded mp3 files
What method? Thank you very much!
Public Class Form1
Sub PlayBackgroundSoundFile (ByVal playMode As AudioPlayMode)
My.Com puter. Audio. Play (My) Resources. Resource1. wavname , playMode)
End Sub
Private Sub Form1_Load (ByVal sender As System. Object, ByVal e the As System. EventArgs) Handles MyBase. Load
PlayBackgroundSoundFile (AudioPlayMode BackgroundLoop)
End Sub
The End of the Class