[Release] MediaPlayer Library

Here is the place to post images, videos and downloads of your current and upcoming applications that you are working on.
9 posts Page 1 of 1
Contributors
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

[Release] MediaPlayer Library
Napster1488
Hey Guys,
I just Created a Media(Audio)Player Library(DLL) File,
that u can use in your Application to Play Audio Files using the Windows MciSendString Command.

In the moment it just have Play and Stop Function.

How to Use:
First u need to Create New Application in VB then "Add New Reference and" select the "MediaPlayer.dll".
Now we need a Import to use the DLL File
Place this over your Public Class Form1 Code
Code: Select all
Imports MediaPlayer.Player
Now we need to Declare the Player as New Player with this Code
Code: Select all
Public player As MediaPlayer.Player = New MediaPlayer.Player
To Play Audio Files use this Code
Code: Select all
player.PlayAudio("Path of the Audio File", "MP3")
The "MP3" Text there is for a Alias that the Player Needs u have to enter a valid Alias without it , the Player will not Play the File so just use "MP3" or "WAV" or something...

Now the Code to Stop the Audio
Code: Select all
player.StopAudio("MP3")
To Stop the Audio u have to Enter the Alias from the Player,soo when u used the Alias "MP3" to Play the File then u also need to Add "MP3" to the Stop Function.

Hope its usefull for u Guys.
I will Add more Features to it soon.
I tested and Compiled the Library under Windows7 Ultimate 32Bit it should work on Windows 7/XP/Vista ...
On 64 Bits Versions i dont know if it will work.

When u Like this Please give me some +rep cooll;
File Includes the Library for NET Framework 2.0,3.5 and 4.0 ;)
You do not have the required permissions to view the files attached to this post.
Last edited by Napster1488 on Mon Apr 04, 2011 9:30 pm, edited 1 time in total.
YouTube Downloader v3.0
Image
Image
Image
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

No Download yet ?! :(
YouTube Downloader v3.0
Image
Image
Image
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: [Release] MediaPlayer Library
Axel
I assume this is full software ?

Dll files : viewforum.php?f=123
Full software : viewforum.php?f=70
And chillax , there aren't 10000 visitors a day
http://vagex.com/?ref=25000
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

Anyway yes its Full Software but its not completely Finished since i wonna add some more Features to it , because of that i put it into the "Work in Progress" Section...
YouTube Downloader v3.0
Image
Image
Image
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: [Release] MediaPlayer Library
mandai
What version of the .Net framework do we need to use this? I'm using 3.5 and when I try to add the reference it says: Resolved file has a bad image, no metadata, or is otherwise inaccessible. Could not load file or assembly... This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: [Release] MediaPlayer Library
Axel
I'm kinda sure he made it in 4.0
http://vagex.com/?ref=25000
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

i made it in Net Framework 4.0 , but if u want i can compile it in other Framework,just say what Version u need...
YouTube Downloader v3.0
Image
Image
Image
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

I just replaced the Library File in the Download it includes now different Version for Framework 2.0,3.5 and 4.0 , i dont know if 2.0 will work right since i had to delete some references.
YouTube Downloader v3.0
Image
Image
Image
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

I just wanted to say i Created a New Library for this,which is now also able to Play Videos and Handel them in a PictureBox ;)
Maybe i gonna Upload it here later or something...
YouTube Downloader v3.0
Image
Image
Image
9 posts Page 1 of 1
Return to “Work in Progress”