• We just launched and are currently in beta. Join us as we build and grow the community.

How to Make a Simple MP3/MP4 Player Using VB.NET

freedomwar

Token Burn Specialist
F Rep
0
0
0
Rep
0
F Vouches
0
0
0
Vouches
0
Posts
56
Likes
198
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 300 XP
Public Class Form1

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
TextBox1.ReadOnly = True

End Sub

Private Sub AxWindowsMediaPlayer1_Enter(sender As Object, e As EventArgs)

End Sub

Private Sub cmdimport_Click(sender As Object, e As EventArgs) Handles cmdimport.Click

OpenFileDialog1.Filter = "MP3|*.mp3"
OpenFileDialog1.Title = "OPEn File"
If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
TextBox1.Text = OpenFileDialog1.FileName

AxWindowsMediaPlayer1.URL = OpenFileDialog1.FileName

End If
End Sub

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Me.Hide()
MsgBox("MP3 Player is Currently Closed")
Form2.Show()

End Sub
End Class

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.

2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Download
You must upgrade your account or reply in the thread to view hidden text.
 

452,292

323,341

323,350

Top