phreaky Posted April 16, 2004 Posted April 16, 2004 How can I play an MP3?, I mean, which control should I use in a Windows Form? Quote tHe pHrEaKy
AlexCode Posted April 17, 2004 Posted April 17, 2004 You asked for Windows form control but I give you both Web and Windows <B>Web</B> http://www.codeproject.com/aspnet/MP3PlayerControl.asp <B>Windows</B> http://www.codeproject.com/audio/takalemp3avi.asp Another thing is that you can always implement the Web implementation I mentioned also on Windows forms... like this: http://weblogs.asp.net/twalters/archive/2003/12/29/46265.aspx Alex :p Quote Software bugs are impossible to detect by anybody except the end user.
phreaky Posted April 17, 2004 Author Posted April 17, 2004 Well, thanks for the post but...I'm using VB, so, it would be kinda of difficult (for time reasons) to use this C++ code. Any VB code for playing MP3s? Quote tHe pHrEaKy
AlexCode Posted April 17, 2004 Posted April 17, 2004 Sorry but I couldn't find anything... Didn't like the Flash option? Really creates fantastic interfaces yet fully functional... Alex :p Quote Software bugs are impossible to detect by anybody except the end user.
phreaky Posted April 17, 2004 Author Posted April 17, 2004 I've founded a VB free library, so, now how can I use it?, I mean, how do I import it to my actual and make it recognize its modules? Yeap, I'm a newbie. Quote tHe pHrEaKy
AlexCode Posted April 17, 2004 Posted April 17, 2004 Surelly it must be a dll so just add it to the references... On your project files tree, you'll fide the 'References' node, just right click there and on the popup window browse to the dll file... Then you'll have the new namesapce available on the intellisence... By the way... post a link to that library you've found ok? Alex :p Quote Software bugs are impossible to detect by anybody except the end user.
phreaky Posted April 18, 2004 Author Posted April 18, 2004 Quote Surelly it must be a dll so just add it to the references... On your project files tree, you'll fide the 'References' node, just right click there and on the popup window browse to the dll file... Then you'll have the new namesapce available on the intellisence... By the way... post a link to that library you've found ok? Alex :p Thanks Alex, I tried what you indicated, it seems the file I downloaded is kinda corrupted or something cuz, I can't make it recognizable as a DLL file for the VB. There is another thing to use in the page for playing MP3s, it's a VB Class, so, how can I use it?, I mean, how can I call a VB Public Class to use its methods? Quote tHe pHrEaKy
AlexCode Posted April 18, 2004 Posted April 18, 2004 (edited) It works like a charm! :) I leave you the rude code I made to test it... Note that it's in VS2003. Just edit the code and change the mp3 file path. Alex :p csMusicLibraryProClass.zipFetching info... Edited April 18, 2004 by AlexCode Quote Software bugs are impossible to detect by anybody except the end user.
phreaky Posted April 18, 2004 Author Posted April 18, 2004 Quote It works like a charm! :) I leave you the rude code I made to test it... Note that it's in VS2003. Alex :p Which one worked for you?, I made the csMusicLibrary work for me, the other one (Bass) couldn't get it to work, it seems like the library doesn't work. Anyway, it worked for another way, now I'm happy :) By the way, we're almost country related, I'm portuguese's son :D Quote tHe pHrEaKy
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.