|
-
Dec 21st, 2006, 04:11 PM
#1
Thread Starter
Junior Member
[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.
-
Dec 21st, 2006, 05:22 PM
#2
Addicted Member
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:
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
-
Dec 21st, 2006, 08:25 PM
#3
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
-
Dec 21st, 2006, 08:25 PM
#4
Thread Starter
Junior Member
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?
-
Dec 21st, 2006, 08:32 PM
#5
Re: [2005]Make a VB 2005 Media Player?
 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.
-
Dec 21st, 2006, 08:40 PM
#6
Thread Starter
Junior Member
Re: [2005]Make a VB 2005 Media Player?
I definitely will do my research. Thanks for the links jmlchinney.
-
Dec 21st, 2006, 10:00 PM
#7
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|