[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
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
Now the Code to Stop the Audio
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 ;)
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
Now we need to Declare the Player as New Player with this Code
Imports MediaPlayer.Player
Code: Select all
To Play Audio Files use this Code
Public player As MediaPlayer.Player = New MediaPlayer.Player
Code: Select all
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...player.PlayAudio("Path of the Audio File", "MP3")
Now the Code to Stop the Audio
Code: Select all
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.player.StopAudio("MP3")
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.
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
Dll files : viewforum.php?f=123
Full software : viewforum.php?f=70
And chillax , there aren't 10000 visitors a day
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...
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.
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...
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.
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...
Maybe i gonna Upload it here later or something...
9 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023