How to Create Your Own Media Player in   12 comments

We All Know About Windows Media Player Or Other Players That use to Play a Audio And Video File in Your Computer OR Laptops or etc… But Any Body Know how to make it … ?
Don’t know …. ok … ok … i will teach you how to make it….
In this Tutorial We Use Visual Basic 2008 To make Our Own Media Player….
ok…. let’s Start….

1. Open and Create New Windows Application ….
2. Give it Name MY Media Player…
3. Change the Text of Form1 to Your Own one … like My Media Player, Smart Media Player etc…. (Here I use Smart Media Player…. )


4. Ok … now Add COM Component… From Chose Items …
      Follow this ….


5. Now You can See new Toll Windows Medial Player In Tool Box Control…. Drag It into Form….


6. Now You Can See One Little Control Same Look Like Windows Media Player….. Drag and Drop it into Form….
7. Ohhh…. see there is one little Medial player… oh … Interesting …


8. Hey Congrat’s you done it …. now Double Click on Play Button and you can See code Window….
            In this Write Following lines of Codes….
                     AxWindowsMediaPlayer1.URL = "z:\Songs\xyz.mp3”       // You file Path Will be goes here……

           You Can make Your Own Playlist and Write this Code In SelectedIndexChanged  Event of List box and Combo Box…..

9.  Now … .Double Click on Stop Button and Write Following Lines of Codes ….

10. Do Same For Following Buttons ….
             1. Pause :-  AxWindowsMediaPlayer1.Ctlcontrols.pause()
             2.Prev":-     AxWindowsMediaPlayer1.Ctlcontrols.previous()

       Do same For many other  Controls….

11. Now Run your Application … See it Work ….
      if you have any Problem During the Execution Than Contact me …. Any time …. Best f lck….

Posted December 30, 2011 by psanni in Uncategorized

12 responses to “How to Create Your Own Media Player in

Subscribe to comments with RSS.

  1. I was not able to make it by myself..
    this tut help me to do it..

  2. hello partner post some idea about ” how to create a application software for computer………………”

  3. not woking

  4. copmlayr eroore

  5. the media player is working very well

  6. Hey…its not working says runtime error…. object required

  7. great……’s working……..

  8. Its s very easy to follow ur method.thanks.

    • How is it simple? How did u do it? Because i have tried it… Its say connecting… Opening library…Ready… but it open nothing.

  9. Pls, i have tried but it is like loading but nothing is opening… I guess its cos by the little control u said look like WindowsMediaPlayer. I can’t see this control , where r is it found?

  10. I have been exploring for a little bit forr any high-quality articles or blog
    posts in thjis sort of area . Exploring in Yahoo
    I at last stumbled upon this website. Studying this info So i’m glad to exhibit that I’ve an incredibly good uncanny feeling I came
    upon just what I needed. I most for sre will make certain to ddo not overlook this web
    site and provides it a glance on a continuing basis.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: