Hi All,

i'm creating a music player using windowsmediaplayer - i've got a text box, cmd button and timer that I want to be able to reduce the volume of the player over the number of seconds that are input in the text box, when the button is clicked.

So that if 3 is typed in for example the volume will reduce to zero (and then stop the player) over a 3 second period.

I can't seem to do the math equation to figure this out, and i'm feeling stupid about it.

Any help out there please?

thanks