Solved

monitor & set clip location in .net with wmp control

Posted on 2009-07-16
4
284 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

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Viewers will learn how to turn a Live Set into a compressed Live Pack file, and how to install Live Packs. Make: File > Collect All And Save: File > Manage Files: Click Manage Project: Click Create Pack: Select save location: Install: Doub…
Viewers will learn the basics of using Ableton Live's advanced sampler instrument, Sampler. Load new Sampler into an empty MIDI track: Select a sample and drop it into sample window in Sampler: Adjust pitch if necessary with Root Key setting: …

632 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