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

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()

MMControl1.Notify = False
MMControl1.Wait = True
MMControl1.Shareable = False

'to play .avi file

MMControl1.FileName = "c:\test.avi"
MMControl1.Command = "Open"

' to play .wav file

MMControl1.FileName = "C:\Documents and Settings\Jerry\My Documents\LOVE.wav"
MMControl1.Command = "Open"

' to play .mpg file

MMControl1.FileName = "c:\Documents and Settings\Jerry\My Documents\traian.mpg"
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...

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

to ply mp3, mid, wav
mp3
MMControl1.DeviceType = ""  or "MPEGVideo"
mid
MMControl1.DeviceType = "Sequencer"
wav
MMControl1.DeviceType = "WaveAudio"
a copy from the play sub showing a order
MMControl1.Command = "close" ' handsom if is playing
MMControl1.DeviceType = Your special case or just ""
MMControl1.Command = "open"
MMControl1.Command = "play"

if want to play avi video or MPG and mpeg video you can assign a picturebox
MMControl1.hWndDisplay = Picture1.hWnd    and set
MMControl1.DeviceType = "AVIVideo"  or "MPEGVideo" or "" for .wmv
to size the picturebox exact to eatch file require lot of code, here recommand
media player, the wmv are often large in width and hight.

@ Lenshood, thanx for your reply, this thread is however 4 years old!!! I'm sure the original poster has found an answer by now. :)

This article has been dead for over six months. Start a new discussion instead.