|
-
Jan 8th, 2000, 09:42 AM
#1
Thread Starter
Addicted Member
OK,
I can play a midi now, but how do I loop it?? thank you!!!
-
Jan 8th, 2000, 10:26 AM
#2
New Member
Try something like this:
Private Sub MediaPlayer1_EndOfStream(ByVal Result As Long)
MediaPlayer1.filename = TheFile
MediaPlayer1.Play
'(this should keep playing the file again 'and again, until you stop it.
End Sub
Obviously, this assumes you are using the MediaPlayer
Also, there is an attribute of this control that you can set the # of times to repeat:
MediaPlayer1.PlayCount = x
'where x is an integer; it will (or should
'repeat the midi x number of times
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|