Forma şunları ekleyin;
1 tane medi player
1 tane openfiledialog
1 tane button
1 tane combobox
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click OpenFileDialog1.ShowDialog() AxWindowsMediaPlayer1.URL = OpenFileDialog1.FileName ComboBox1.Items.Add(AxWindowsMediaPlayer1.URL) End Sub Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged AxWindowsMediaPlayer1.URL = ComboBox1.Text End Sub
Hiç yorum yok: