Results 1 to 7 of 7

Thread: [2005]Make a VB 2005 Media Player?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2006
    Posts
    29

    [2005]Make a VB 2005 Media Player?

    I was just curious to ask if it was possible to make a VB 2005 Media Player. I am thinking it might be hard because you have to add codecs and what not, but has anyone ever seen one or made one made from VB 2005?


    If there is a way to, where do I start?
    Last edited by LaxNasty; Dec 21st, 2006 at 04:21 PM.

  2. #2
    Addicted Member
    Join Date
    Dec 2006
    Posts
    208

    Re: [2005]Make a VB 2005 Media Player?

    I made a player that played an mp3 player at college the other day, this used WMP though. We added the component WMP to the project and a play button.
    Then added this coding in the play button
    VB Code:
    1. Me.player.URL = "location of file"
    .
    Do not know if this is any help or interest, thought it was ok for one of my first projects.
    I suppose you could use the openfiledialog instead of actually using one set file name.

    Sam

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005]Make a VB 2005 Media Player?

    If you don't want to put your own face on an existing component like WMP then you can interact with Windows Media Control Interface (MCI) directly via platform invoke (API calls).

    http://msdn.microsoft.com/library/de...i_commands.asp

    You could also use DirectX.

    http://msdn.microsoft.com/library/de...ch_DirectX.asp
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Nov 2006
    Posts
    29

    Re: [2005]Make a VB 2005 Media Player?

    Ok, thanx, that is a good place to start. Thanks alot. But how do you add codecs, if I want to make something similar to VLC Media PLayer?

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005]Make a VB 2005 Media Player?

    Quote Originally Posted by LaxNasty
    Ok, thanx, that is a good place to start. Thanks alot. But how do you add codecs, if I want to make something similar to VLC Media PLayer?
    I don't know, but maybe it's done through MCI and/or DirectX. You're not going to know until you've done some reading.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Nov 2006
    Posts
    29

    Re: [2005]Make a VB 2005 Media Player?

    I definitely will do my research. Thanks for the links jmlchinney.

  7. #7
    Frenzied Member
    Join Date
    Aug 2005
    Posts
    1,042

    Re: [2005]Make a VB 2005 Media Player?

    LaxNasty:

    You might want to check this out:

    Playing Digital Media in a Visual Basic .NET Application
    by Jim Travis

    Microsoft Corporation

    Applies to:

    Microsoft® Windows Media® Player 9 Series
    Microsoft Visual Basic® .NET
    Microsoft .NET Framework
    Microsoft ActiveX® controls

    You can find it here:

    http://msdn.microsoft.com/library/de...pplication.asp

    Good Luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width