Playing mp3 file with vb.net

Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Jan 2008
Posts: 44
Reputation: Naruse is an unknown quantity at this point 
Solved Threads: 0
Naruse's Avatar
Naruse Naruse is offline Offline
Light Poster

Playing mp3 file with vb.net

 
0
  #1
Apr 16th, 2008
i want to playing mp3 file with vb.net.
how can i do this?

regard
Naruse
Harlem Beat
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Playing mp3 file with vb.net

 
2
  #2
Apr 16th, 2008
use Microsoft Multimedia Control. find this control on component.
add this code to play mp3 file :
  1. On Error GoTo ErrMsg
  2. AxMMControl1.Wait = True
  3. AxMMControl1.FileName = OpenFileDialog1.FileName
  4. AxMMControl1.Command = "Open"
  5. AxMMControl1.Command = "Play"
  6. Exit Sub
  7. ErrMsg:
  8. MsgBox(Err.Description)
  9. End Sub
Last edited by Jx_Man; Apr 16th, 2008 at 6:15 pm.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 44
Reputation: Naruse is an unknown quantity at this point 
Solved Threads: 0
Naruse's Avatar
Naruse Naruse is offline Offline
Light Poster

Re: Playing mp3 file with vb.net

 
0
  #3
Apr 17th, 2008
loved this...
thank for your help Jx_man
Really great code.
Harlem Beat
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Playing mp3 file with vb.net

 
3
  #4
Apr 18th, 2008
you're Welcome friend
Happy Coding.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 191
Reputation: plusplus is an unknown quantity at this point 
Solved Threads: 16
plusplus plusplus is offline Offline
Junior Poster

Re: Playing mp3 file with vb.net

 
0
  #5
Jul 8th, 2009
I don't know if anyone looks at an old thread, but I have a question for this. I used the multimedia control, and it worked great. But when installing my project, it did not work on all computers. (When trying to run it on some computers, it said, there was a problem, and it shut down the program) What could be the reason for this? Do you need anything installed on the computer to use this?
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC