Click to See Complete Forum and Search --> : MMControls


ShawnFoster
February 3rd, 2000, 11:44 PM
How do I play an avi file with an MMcontrol? also where can I find information about drag and drop?

Astinite
February 4th, 2000, 12:48 AM
First you have to set the device type and then open it:

MMControl.DeviceType = "AVIVideo"
MMControl.Command = "Open"



Then set the avi file you want to play and play it:

MMControl.FileName = "somefile.avi"
MMControl.Command = "Play"



Don't forget to close it when your done

MMControl.Command = "Close"



Here are some other commands you can use:

MMControl.Command = "Pause"
MMControl.Command = "Back"
MMControl.Command = "next"
MMControl.Command = "Stop"




A good place for info for dragging and dropping is microsofts site (microsoft.com) and go to the search link at the top right side of the sight.