Trouble organizing code......
Hey, I'm sure this is not the BEST way to do this, but it works for me. I'm a little confused on this code so If anyone could help it would be appreciated. When you doubleclick a file in my listview, it starts a counter that counts down, and plays the file. So what I want to do is this:
play the file until the counter = "00:00"
and if the counter = "00:00" then
go to the next item in the listview (how can I do this?)
then just do a loop, so it keeps going through the playlist, playing the songs.
Do I need to use something like
PHP Code:
Do Until counter ="00:00"
What is the best way to write this code?
Any tips on this are greatly appreciated. Also, now that I've done this whole timer thing, is there a way to get the time from the embedded mediaplayer.ocx control in my program?