Determine when mciSendString close when finished
I looked all over good I have my sounds player I want to put in a time if mciSendString is finished then stop I already can make it stop i want it to do it automatically though
mciSendString("play myMusic notify");
Private Const MM_MCINOTIFY As Integer = &H3B9 <System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.Demand, Name:="FullTrust")> _ Protected Overrides Sub WndProc(ByRef m As Message) If m.Msg = MM_MCINOTIFY AndAlso m.WParam.ToInt32() = 1 Then ' Do stuff here. End If MyBase.WndProc(m) End Sub