The folowing code works for windows media player 7 but no longer works in windows media player 10. These properties have chaged and I am not quite sure how perform the same operations.
All I am looking for is how to list the start of a file, end of a file and calculate the current position in a file. The code below is how it used to be done in older version of Windows Media Player. Can it still be done in WMP 10?
Can anyone help?
'Me.lblAiudioStream.Text = cstr(Me.AxWindowsMediaPlayer1.audiostream)
'Me.lblCurrentPostion.Text = CStr(Me.AxWindowsMediaPlayer1.CurrentPosition)
'Me.lblSelectionStart.Text = Cstr(me.AxWindowsMediaPlayer1.SelectionStart)
'Me.lblSelectionEnd.Text = CStr(Me.AxWindowsMediaPlayer1.SelectionEnd)
All I am looking for is how to list the start of a file, end of a file and calculate the current position in a file. The code below is how it used to be done in older version of Windows Media Player. Can it still be done in WMP 10?
Can anyone help?
'Me.lblAiudioStream.Text = cstr(Me.AxWindowsMediaPlayer1.audiostream)
'Me.lblCurrentPostion.Text = CStr(Me.AxWindowsMediaPlayer1.CurrentPosition)
'Me.lblSelectionStart.Text = Cstr(me.AxWindowsMediaPlayer1.SelectionStart)
'Me.lblSelectionEnd.Text = CStr(Me.AxWindowsMediaPlayer1.SelectionEnd)
Last edited: