Media kontrol interface sürücülerini kullanmamıza yarar. Bu sayede CD-Rom, ses kartı gibi parçalarda kontrol edilebilir.
Animation : Animation cihazı
CDAudio : Audio CD cihazı
Dat : Digital audio tape cihazı
Sequencer : MIDI *.mid cihazı
VCR : VideoTape kaydedici ve oynatıcı cihaz
Video : Video dosyası *.avi cihazı
VideoDisc : VideoDisk cihazı
WaveAudio : Audio *.wav cihazı
Private Sub Command1_Click ()
MMControl1.Notify = FALSE
MMControl1.Wait = TRUE
MMControl1.Shareable = FALSE
MMControl1.DeviceType = "WaveAudio"
MMControl1.FileName = "C:\Merhaba.wav"
MMControl1.Command = "Open"
End Sub
Private Sub Command2_Click ()
MMControl1.Command = "Close"
End Sub
MMControl - Özellikler
AutoEnable
BorderStyle
ButtonEnabled
ButtonVisible
CanEject
CanPlay
CanRecord
CanStep
Container
DataBindings
DeviceID
DeviceType
DragIcon
DragMode
Enabled
Error
ErrorMessage
FileName
Frames
From
HelpContextID
Hwnd
Index
Lenght
Mode
MouseIcon
MousePointer
Name
Notify
NotifyMessage
NotifyValue
Object
OleDropMode
Orientation
Parent
Position
RecordMode
Shareable
Silient
Start
TabIndex
TabStop
Tag
TimeFormat
To
ToolTiptext
Track
Tracklenght
TrackPosition
Tracks
UpDateInterval
UsesWindows
Visible
Wait
WhatsThishelpID
MMControl - Olaylar
ButtonClick
ButtonCompleted
ButtonGotFocus
ButtonLostFocus
Done
DragDrop
DragOver
GotFocus
LostFocus
OleCompleteDrag
OleDragDrop
OleDragOver
OleGiveFeedBack
OleSetData
OleStartDrag
StatusUpdate
MMControl - Yöntemler
Drag
Move
OleDrag
Refresh
SetFocus
ShowWhatsThis
ZOrder
