mciSendString / pausing mp3s

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!
I've used the mciSendString-function to open and start an mp3, but i havn't
had any succes in pausing it yet...
It was possible to stop the mp3 when staying in the same sub where it was
started - i used mciSendString("pause mysong", 0,0,0) after some seconds of
Thread.Sleep and it worked well, but the problem is, that I can't stay in the
same sub.
There's a second button in my main form, calling the sub PauseMusic() in a
module. But using mciSendString("pause mysong",0,0,0) in there is not
working, it seems like I lost control over the running mp3 - it just doesn't
stop running...

What am I doing wrong??

-Samuel.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top