Windows Media Player 10 Com companent

fullyii

Member
Joined
Aug 19, 2005
Messages
22
Location
Chicago
Programming Experience
1-3
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)
 
Last edited:
AxWindowsMediaPlayer1.Ctlcontrols.currentPosition
AxWindowsMediaPlayer1.currentMedia.duration
start is 0
 
Back
Top