media player in vb6

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Dec 2007
Posts: 252
Reputation: technogeek_42 has a little shameless behaviour in the past 
Solved Threads: 3
technogeek_42's Avatar
technogeek_42 technogeek_42 is offline Offline
Posting Whiz in Training

media player in vb6

 
0
  #1
Jan 9th, 2008
i had a problem how can i download music to my project and what is that command and who can give me a sample of a project that is like a media player or mp3 player.



thnx to all
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: media player in vb6

 
0
  #2
Jan 10th, 2008
this a simple way to play some media files, but maybe cannot play mp3.file
you can use mmControl 6.0 on component :
Private Sub Form_Load()
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. MMControl1.Notify = False
  2. MMControl1.Wait = True
  3. MMControl1.Shareable = False

'to play .avi file
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. MMControl1.FileName = "c:\test.avi"
  2. MMControl1.Command = "Open"
' to play .wav file
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. MMControl1.FileName = "C:\Documents and Settings\Jerry\My Documents\LOVE.wav"
  2. MMControl1.Command = "Open"
' to play .mpg file
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. MMControl1.FileName = "c:\Documents and Settings\Jerry\My Documents\traian.mpg"
  2. MMControl1.Command = "Open"
end sub

'MMControl1.hwdDisplay = Picture1.hWnd 'designate the Picturebox to display the video file

if the files can be played or the file that it want to play exist the some button of mmcontrol will active..
sory if this cant helpful...
Last edited by Jx_Man; Jan 10th, 2008 at 4:44 am.
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: Feb 2007
Posts: 2,149
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 132
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: media player in vb6

 
0
  #3
Jan 11th, 2008
if you want to download somthing then better to sue browser control.

IF still want to use mediaplayer use this
  1. WMP.launchURL ("http://www.yahoo.com")
but that will still lunch the browser.
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 538
Reputation: choudhuryshouvi is an unknown quantity at this point 
Solved Threads: 49
choudhuryshouvi's Avatar
choudhuryshouvi choudhuryshouvi is offline Offline
Posting Pro

Re: media player in vb6

 
0
  #4
Jan 12th, 2008
Originally Posted by technogeek_42 View Post
i had a problem how can i download music to my project and what is that command and who can give me a sample of a project that is like a media player or mp3 player.
thnx to all
check out this sample application.

regards
Shouvik
Attached Files
File Type: zip MMPlayerX.zip (626.8 KB, 154 views)
Shouvik_The_Expert_Coder
Have a problem? Don't worry just give me a call and I'll fix it for you.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum


Views: 5244 | Replies: 3
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC