Loading...

Visual Studio 2010 : Advanced Media Player for Beginners [Tutorial]

2,725 views

Loading...

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on May 29, 2012

* Works on both vb 8 and 10 *

Note : Don't forget to Declare "AxWindowsMediaPlayer1"


Codes :

Public Class Form1 Dim UnhandledExceptionMode As Exception Private Sub OpenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FileToolStripMenuItem.Click OpenFileDialog1.ShowDialog() End Sub Private Sub PlayToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PlayToolStripMenuItem.Click AxWindowsMediaPlayer1.URL = (OpenFileDialog1.FileName) End Sub Private Sub PlayToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ResumeToolStripMenuItem.Click AxWindowsMediaPlayer1.Ctlcontrols.play() End Sub Private Sub PauseToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StopToolStripMenuItem.Click AxWindowsMediaPlayer1.Ctlcontrols.pause() PlayToolStripMenuItem.Visible = True End Sub Private Sub StopToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StopToolStripMenuItem.Click AxWindowsMediaPlayer1.Ctlcontrols.stop() End Sub Private Sub player_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load PlayToolStripMenuItem.Visible = True End Sub
End Class


After Finishing....
Debug..
Build.....
Publish.....
that's it


Rate and sub me.
Visit : http://pc-magic.yolasite.com/

  • Category

  • License

    • Standard YouTube License

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...