to ply mp3, mid, wav
MMControl1.DeviceType = "" or "MPEGVideo"
MMControl1.DeviceType = "Sequencer"
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.