Solved

monitor & set clip location in .net with wmp control

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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: …

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now