borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (saving images)Next Topic (playing mp3's) New Topic New Poll Post Reply
AndreaVB Forum : Multimedia : Strange MediaPlayer behaviour
Poster Message
Nod
Level: Guest


icon Strange MediaPlayer behaviour

I am using the MediaPlayer to record the Duration of a mixture of MP3 and WAV files using a loop containing the following code...
MediaPlayer1.Filename = filename$
duration = MediaPlayer1.Duration
snapshot.WriteLine (duration & filename$)
MediaPlayer1.Filename = ""
At some point, the MediaPlayer begins to report duration = 0 for all files, I have discovered that when this happens, the MediaPlayer.PlayState = 6   I am using VB6 on a W98SE machine. Has anyone got any ideas on what's happening?

01-07-2003 at 02:18 PM
| Quote Reply
AndreaVB Forum : Multimedia : Strange MediaPlayer behaviour
Previous Topic (saving images)Next Topic (playing mp3's) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder