hello everybody, i am doing a project in which i need to play two wav files one after other when command button is clicked. what i want to know is how check playback is completion. here is my code
Code:
Private Sub Command2_Click()

MMControl1.FileName = "E:\files\1_E.wav"
MMControl1.Command = "Open"
MMControl1.Command = "Play"
'what code to be inserted here

MMControl1.Command = "close"

MMControl1.FileName = "E:\files\4_E.wav"
MMControl1.Command = "Open"
MMControl1.Command = "Play"

'what code to be inserted here


MMControl1.Command = "close"
End Sub
thanks