Evo ovako:
Dodati jedan OpenFileDialog
6 Buttona:
import
play
stop
pause
next
previous
Open File Dialog 1:
Import:
Play:
Stop :
Pause:
Next:
Previous:
Dodati jedan OpenFileDialog
6 Buttona:
import
play
stop
pause
next
previous
Open File Dialog 1:
- Kod:
For Each track As String In OpenFileDialog1.FileNames
ListBox1.Items.Add(track)
Next
Import:
- Kod:
OpenFileDialog1.ShowDialog()
Play:
- Kod:
AxWindowsMediaPlayer1.URL = ListBox1.SelectedItem
Stop :
- Kod:
AxWindowsMediaPlayer1.Ctlcontrols.stop()
Pause:
- Kod:
AxWindowsMediaPlayer1.Ctlcontrols.pause()
Next:
- Kod:
AxWindowsMediaPlayer1.Ctlcontrols.next()
Previous:
- Kod:
AxWindowsMediaPlayer1.Ctlcontrols.previous()