How can i make a progressbars length the same as the music's length ?
Like if the song is halfways the progressbar is halfways.
progress = progressbar1
player = axWindowsMediaPlayer
vb.net Code:
' Hardcoded maximum, because i know the length of the song... Progress.Maximum = 269 ' setting the value to the current time Progress.Value = player.Ctlcontrols.currentPosition
But how do i loop it so it is synchronized with the song ?




Reply With Quote