🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.basic.visual
3 messages
3 total messages Started by sjoerd Sat, 05 Jul 2003 12:40
checking WMP-status
#218
Author: sjoerd
Date: Sat, 05 Jul 2003 12:40
14 lines
1589 bytes
Hi,

I built in a WindowsMediaPLayer in a form. Now I want to check if the player
has ended to play a file.

I want to do this using a loop which constantly checks the status of the
WindowsMediaPlayer (playing or stopped). How can I check the status of the
WindowsMediaPlayer?

Is using this loop the best way to perform this check?

Thanks,

Sjoerd
Re: checking WMP-status
#220
Author: Heiko
Date: Sat, 05 Jul 2003 16:10
26 lines
1818 bytes
Hello Sjoerd
the WMP will fire several useful events, 
the <nameofPlayer> _EndOfStream(ByVal Result As Long)
is yours to catch.

Greetings
Heiko

"sjoerd" <iwi@iwi.myweb.nl> wrote:

>Hi,
>
>I built in a WindowsMediaPLayer in a form. Now I want to check if the player
>has ended to play a file.
>
>I want to do this using a loop which constantly checks the status of the
>WindowsMediaPlayer (playing or stopped). How can I check the status of the
>WindowsMediaPlayer?
>
>Is using this loop the best way to perform this check?
>
>Thanks,
>
>Sjoerd
>
>
Re: checking WMP-status
#221
Author: sjoerd
Date: Sat, 05 Jul 2003 18:03
36 lines
2205 bytes
Thanks,

I'll give it a try right now.

Sjoerd
"Heiko" <hg0180@aol.com> wrote in message
news:3f06f7fd.12400204@news.btx.dtag.de...
> Hello Sjoerd
> the WMP will fire several useful events,
> the <nameofPlayer> _EndOfStream(ByVal Result As Long)
> is yours to catch.
>
> Greetings
> Heiko
>
> "sjoerd" <iwi@iwi.myweb.nl> wrote:
>
> >Hi,
> >
> >I built in a WindowsMediaPLayer in a form. Now I want to check if the
player
> >has ended to play a file.
> >
> >I want to do this using a loop which constantly checks the status of the
> >WindowsMediaPlayer (playing or stopped). How can I check the status of
the
> >WindowsMediaPlayer?
> >
> >Is using this loop the best way to perform this check?
> >
> >Thanks,
> >
> >Sjoerd
> >
> >
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads