DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 30 Jul 2007 00:52:58 -0700,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    nazneen84
          2    Peter Foot [MVP]
                 3    Peter Foot [MVP]
          4    nazneen84
          5    nazneen84
          6    nazneen84


Beginners question: get playstate of windows media player   
I need to execute a certain code when a soundtrack stops playing on
windows media player

i m trying to avoid using Opennetcf libs

is there any way i can do this?

i have gone through the APIs but couldn't figure it out
Date:Mon, 30 Jul 2007 00:52:58 -0700   Author:  

Re: Beginners question: get playstate of windows media player   
If you are using Windows Mobile 5.0 or higher you can use the state and 
notification broker. The MediaPlayerTrack* properties would be a starting 
point.

Peter

-- 
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"nazneen84"  wrote in message 
news:1185781978.706780.163430@x40g2000prg.googlegroups.com...

>I need to execute a certain code when a soundtrack stops playing on
> windows media player
>
> i m trying to avoid using Opennetcf libs
>
> is there any way i can do this?
>
> i have gone through the APIs but couldn't figure it out
> 
Date:Mon, 30 Jul 2007 09:29:04 +0100   Author:  

Re: Beginners question: get playstate of windows media player   
On Jul 30, 1:29 pm, "Peter Foot [MVP]" 
wrote:

> If you are using Windows Mobile 5.0 or higher you can use the state and
> notification broker. The MediaPlayerTrack* properties would be a starting
> point.
>
> Peter
>
> --
> Peter Foot
> Microsoft Device Application Development MVPwww.peterfoot.net|www.inthehand.com
> In The Hand Ltd - .NET Solutions for Mobility
>
> "nazneen84"  wrote in message
>
> news:1185781978.706780.163430@x40g2000prg.googlegroups.com...
>
> >I need to execute a certain code when a soundtrack stops playing on
> > windows media player
>
> > i m trying to avoid using Opennetcf libs
>
> > is there any way i can do this?
>
> > i have gone through the APIs but couldn't figure it out



But the an event is raised only if the track changes...not when it
stops
Date:Mon, 30 Jul 2007 01:43:46 -0700   Author:  

Re: Beginners question: get playstate of windows media player   
On Jul 30, 1:43 pm, nazneen84  wrote:

> On Jul 30, 1:29 pm, "Peter Foot [MVP]" 
> wrote:
>
>
>
> > If you are usingWindowsMobile 5.0 or higher you can use the state and
> > notification broker. The MediaPlayerTrack* properties would be a starting
> > point.
>
> > Peter
>
> > --
> > Peter Foot
> > Microsoft Device Application Development MVPwww.peterfoot.net|www.inthehand.com
> > In The Hand Ltd - .NET Solutions for Mobility
>
> > "nazneen84"  wrote in message
>
> >news:1185781978.706780.163430@x40g2000prg.googlegroups.com...
>
> > >I need to execute a certain code when a soundtrack stops playing on
> > >windowsmediaplayer
>
> > > i m trying to avoid using Opennetcf libs
>
> > > is there any way i can do this?
>
> > > i have gone through the APIs but couldn't figure it out
>
> But the an event is raised only if the track changes...not when it
> stops


what i want is to handle PlayStateChange.....but i don't know how to
go about it in CE
Date:Mon, 30 Jul 2007 01:50:16 -0700   Author:  

Re: Beginners question: get playstate of windows media player   
Does MediaPlayerTrackTimeElapsed not return to 0 when stopped, or are you 
talking about Pausing rather than Stopping?

Peter

-- 
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"nazneen84"  wrote in message 
news:1185785416.469613.187180@x35g2000prf.googlegroups.com...

> On Jul 30, 1:43 pm, nazneen84  wrote:
>> On Jul 30, 1:29 pm, "Peter Foot [MVP]" 
>> wrote:
>>
>>
>>
>> > If you are usingWindowsMobile 5.0 or higher you can use the state and
>> > notification broker. The MediaPlayerTrack* properties would be a 
>> > starting
>> > point.
>>
>> > Peter
>>
>> > --
>> > Peter Foot
>> > Microsoft Device Application Development 
>> > MVPwww.peterfoot.net|www.inthehand.com
>> > In The Hand Ltd - .NET Solutions for Mobility
>>
>> > "nazneen84"  wrote in message
>>
>> >news:1185781978.706780.163430@x40g2000prg.googlegroups.com...
>>
>> > >I need to execute a certain code when a soundtrack stops playing on
>> > >windowsmediaplayer
>>
>> > > i m trying to avoid using Opennetcf libs
>>
>> > > is there any way i can do this?
>>
>> > > i have gone through the APIs but couldn't figure it out
>>
>> But the an event is raised only if the track changes...not when it
>> stops
>
> what i want is to handle PlayStateChange.....but i don't know how to
> go about it in CE
> 
Date:Mon, 30 Jul 2007 12:21:34 +0100   Author:  

Re: Beginners question: get playstate of windows media player   
On Jul 30, 4:21 pm, "Peter Foot [MVP]" 
wrote:

> Does MediaPlayerTrackTimeElapsed not return to 0 when stopped, or are you
> talking about Pausing rather than Stopping?
>
> Peter
>
> --
> Peter Foot
> Microsoft Device Application Development MVPwww.peterfoot.net|www.inthehand.com
> In The Hand Ltd - .NET Solutions for Mobility
>
> "nazneen84"  wrote in message
>
> news:1185785416.469613.187180@x35g2000prf.googlegroups.com...
>
> > On Jul 30, 1:43 pm,nazneen84 wrote:
> >> On Jul 30, 1:29 pm, "Peter Foot [MVP]" 
> >> wrote:
>
> >> > If you are usingWindowsMobile 5.0 or higher you can use the state and
> >> > notification broker. The MediaPlayerTrack* properties would be a
> >> > starting
> >> > point.
>
> >> > Peter
>
> >> > --
> >> > Peter Foot
> >> > Microsoft Device Application Development
> >> > MVPwww.peterfoot.net|www.inthehand.com
> >> > In The Hand Ltd - .NET Solutions for Mobility
>
> >> > "nazneen84"  wrote in message
>
> >> >news:1185781978.706780.163430@x40g2000prg.googlegroups.com...
>
> >> > >I need to execute a certain code when a soundtrack stops playing on
> >> > >windowsmediaplayer
>
> >> > > i m trying to avoid using Opennetcf libs
>
> >> > > is there any way i can do this?
>
> >> > > i have gone through the APIs but couldn't figure it out
>
> >> But the an event is raised only if the track changes...not when it
> >> stops
>
> > what i want is to handle PlayStateChange.....but i don't know how to
> > go about it in CE


Thanks a lot...thats exactly what i was looking for:)
Date:Mon, 30 Jul 2007 05:39:01 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us