Membuat Program Pemutar MP3,MP4,WAV di visual basic 2008

Salam sejahtera bagi kita semua dan masih di beri kesehatan oleh allah SWT,
Disini saya akan menshare untuk agan-agan semua tentang membuat program
pemutar MP3,MP4,WAV 2008 lengkap dengan coding...
lansung aja...


Nah untuk coding bisa lihat di bawah ini:

Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        TssNama.Text = "Aplikasi Mltimedia"
        TssTanggal.Text = Format(Now, "dd-mm-yy")
    End Sub

    Private Sub AxWindowsMediaPlayer2_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxWindowsMediaPlayer2.Enter
        Me.Width = Me.AxWindowsMediaPlayer2.Width
        Me.Height = Me.AxWindowsMediaPlayer2.Height + 25
    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        TssJam.Text = Format(Now, "hh:mm:ss tt")
    End Sub

    Private Sub BtnForm_ItemClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolStripItemClickedEventArgs) Handles BtnForm.ItemClicked
        Dim kotak_dialog As New OpenFileDialog
        kotak_dialog.Filter = _
        "MP3 |*.mp3|WAV| *.wav|Dat|*.Dat|Wmp| *.wmp| MP4 |*mp4"
        kotak_dialog.ShowDialog()
        AxWindowsMediaPlayer2.URL = kotak_dialog.FileName
    End Sub
End Class

SEMOGA BERMANFAAT BAGI AGAN-AGAN UNTUK LATIHAN BELAJAR PROGRAM...

Previous
Next Post »