Page Rank

Subscribe

Categories

Recent posts

Alexa Rank

Create Media Player in C#


  • This topic explains how to create Media Player in C# programming.
  • Using this Media Player, you can play audio and video files.
  • Tools needed: Button1 (BtnBrowse), OpenFileDialog1 (OpenFileDialog1)

Steps to add Media Player Component to your C# applicationCreate Media Player in C#

  • Step 1: Select Tool Box, and right click anywhere on the tool box  and then select Choose option from the popup menu
Create Media Player in VB - Add Media Player Step 1

Create Media Player in C# – Add Media Player Step 1

  • Step 2: Select COM Components from the opened frame and choose Windows Media Player from the list and Click OK to go back.
Create Media Player in VB - Add Media Player Step 2

Create Media Player in C# – Add Media Player Step 2

  • Step 3: Drag or Select Windows Media Player tool from the toolbox to your C# application.

 

Create Media Player in VB - Media Player

Create Media Player in C# – Media Player

System.Windows.Forms NamespaceCreate Media Player in C#

  • The System.Windows.Forms namespace contains classes for creating Windows-based applications.
  •  It has full advantage of the rich user interface features available in the Microsoft Windows operating system.

IComponentConnector.InitializeComponent MethodCreate Media Player in C#

  • Help to load the compiled page of a component.
  • Syntax


VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">