/ Forside / Teknologi / Udvikling / VB/Basic / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
VB/Basic
#NavnPoint
berpox 2425
pete 1435
CADmageren 1251
gibson 1230
Phylock 887
gandalf 836
AntonV 790
strarup 750
Benjamin... 700
10  tom.kise 610
checking WMP-status
Fra : sjoerd


Dato : 05-07-03 13:40

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



 
 
Heiko (05-07-2003)
Kommentar
Fra : Heiko


Dato : 05-07-03 17:10

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
>
>


sjoerd (05-07-2003)
Kommentar
Fra : sjoerd


Dato : 05-07-03 19:03

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
> >
> >
>



Søg
Reklame
Statistik
Spørgsmål : 177557
Tips : 31968
Nyheder : 719565
Indlæg : 6408879
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste