Solved

monitor & set clip location in .net with wmp control

Posted on 2009-07-16
4
274 Views
Last Modified: 2013-12-07
I'm using vs 2008 on vista. in c# i have a win media player control. while a clip is playing, i'd like to be able to periodically check the current location (in seconds) and to be able to set the current location.

i don't see the properties necessary to do so (i do see them in the ce version). ideas?

tia, bill
0
Comment
Question by:BlearyEye
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 24878022
What version of the Windows Media Player are you working with?  The version is important, because the code models change from version to version.
0
 
LVL 1

Author Comment

by:BlearyEye
ID: 24878874
wmp is version 11.0
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 24879831
I believe that what you are looking for is wmp.Ctlcontrols.currentPosition.

IWMPControls::currentPosition Property
http://msdn.microsoft.com/en-us/library/dd564740(VS.85).aspx
0
 
LVL 1

Author Comment

by:BlearyEye
ID: 24881855
that seems to have done the trick. i'll test it a bit more, then close this question. thanks.
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
array not updating 8 42
PowerShell: ForEach-Object Export to CSV 4 91
Help with Report Viewer in VS2013 6 33
Timeouts during development 3 28
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Viewers will learn the basics of creating custom device Racks in Ableton Live. Place instrument(s) and effects onto a track, and select them all by holding the Shift key and clicking on the device title bars: Group them by typing Command-G (Ctrl-G…
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question