I'm so stuck with this thing. I have a media player control, and a trackbar to follow the streams progress. It is also used of course to set the position in the video stream. The problem is that everytime my software updates the current position in the trackbar it also sets the video to that position.
See my code:
Any quick solution to this? I had the solution before but lost it. :/Code:Private Sub PositionBar_ValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles PositionBar.ValueChanged mediaSetPosition(Val(PositionBar.Value)) If mediaErrorCode Then MsgBox("Error " & mediaErrorCode & " - " & mediaErrorInfo) mediaPlay() If mediaErrorCode Then MsgBox("Error " & mediaErrorCode & " - " & mediaErrorInfo) End Sub




Reply With Quote