Very helpful code!
Thank you very much for this code! It works great.
Do you know how we can send a song to an external connected device like a Radio?
I mean like the "Play To" function on a right mouse click for a song?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click OpenFileDialog1.ShowDialog() If Windows.Forms.DialogResult.OK Then For Each track As String In OpenFileDialog1.FileNames ListBox1.Items.Add(track) Next End If
Private Sub ListBox1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListBox1.DoubleClick AxWindowsMediaPlayer1.URL = ListBox1.SelectedItem End Sub