Re: Windows Media Player
From: JohnK (johnkeystone_at_noreply.net)
Date: 05/07/04
- Next message: Raindogs: "Re: Packaging ActiveX Controls"
- Previous message: KDames: "Re: Adding tab spaces between variables on the same line"
- In reply to: Hot Rats: "Windows Media Player"
- Next in thread: Hot Rats: "Re: Windows Media Player"
- Reply: Hot Rats: "Re: Windows Media Player"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 7 May 2004 17:07:36 +0200
Maybe don't use the mediaplayer?
Another way of playing mp3 is by using the multimediacontrol:
note: MP3PlayingNow is a boolean switch and MMC is the multimediacontrol,
the rest of the names is selfexplaining:
..
..
If MP3isPlayingNow = True Then
MMC.Notify = False
MMC.Wait = True
MMC.Command = "Stop"
MMC.Command = "Close"
MP3isPlayingNow = False
End If
MP3File = MP3FileSelected
MMC.Notify = False
MMC.Wait = True
MMC.Shareable = False
MMC.FileName = MP3File
MP3isPlayingNow = True
MMC.Command = "Open"
MMC.Command = "Play"
..
..
etcetera
John
"Hot Rats" <dewijunk@NOSPAMbtinternet.com> schreef in bericht
news:c7crn1$h99$1@titan.btinternet.com...
> Hi, I have a small VB6 app which I use to play mp3s from Media Player. As
> an mp3 finishes it calls the end of stream routine and selects the next
> file.
>
> However I can't seem to get end of stream working with MP9. The syntax I
am
> using to play a file is
> mediaplayer1.url = "test.mp3"
>
> It plays the file ok, but won't call the end of stream routine. It was
> working fine with earlier versions of media player although the code then
> was
> mediaplayer.filename="test.mp3"
> mediaplayer.play
>
> Can anyone shed any light on this? Am I using the wrong code to play a
> file?
>
> Thanks
>
>
>
> --
> ---- Remove only "NOSPAM" to reply directly ---
>
>
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.677 / Virus Database: 439 - Release Date: 4-5-2004
- Next message: Raindogs: "Re: Packaging ActiveX Controls"
- Previous message: KDames: "Re: Adding tab spaces between variables on the same line"
- In reply to: Hot Rats: "Windows Media Player"
- Next in thread: Hot Rats: "Re: Windows Media Player"
- Reply: Hot Rats: "Re: Windows Media Player"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|