Hey folks.

Let me set my project up for you, I have one Windows Media Player component, and 3 text boxes.

In one text box I have coming from WMP the updating value of this output:
WindowsMediaPlayer1.Controls.currentPositionString
That shows the position of the currently playing clip in this format: “00:00”

The next text box I have shows the total duration of the clip:
WindowsMediaPlayer1.currentMedia.durationString
Which as well shows the duration of the clip in the “00:00” format.

I have a third text box that I would like to show how much time is remaining in the clip.

For example, I would like to be able to have something like:
WindowsMediaPlayer1.currentMedia.durationString (subtract) WindowsMediaPlayer1.Controls.currentPositionString

That would take the total duration of the video, and subtract the current position giving the total time remaining. However, I cannot get this to display, does anyone have any suggestions on how I would get this to work?

Thanks in advance!