pavol Level: Sage
 Registered: 11-07-2005 Posts: 68
|
mmc control
i have an array called mus that stores the paths to a number of different songs and a variable curMus that stores the element number/song im currently on. on my form i have two buttons cmdNext and cmdPrev and my mmc control is called mmcMedia. now in the cmdNext and cmdPrev click procedures i have code that just increases or decreases the curMus value. when i click next or load the form and i have 3 songs stored in the array, the mmc will have all the buttons disabled and it won't be able to play the first two songs only the last one will play and when i play it and then stop it and change back to the previous song and press play the 3rd song will continue from where i stopped it. i have changed the filename of the control, refreshed it almost everything. but i can't get it.
does anyone know even remotely what the problem might be
any help appreciated
thanks
____________________________
"Intellectuals solve problems, geniuses prevent them."
-Albert Einstein
Pavol
|