Click to See Complete Forum and Search --> : ShellExecute and Terminate


Lev FatMan
June 18th, 2001, 08:14 AM
Hello,

I need some advice here. I am trying to make a program that plays a mp3 file by request and stops playing it by request. Now I play it using the ShellExecute function and it works, but how do I stop it. I cannot know what is the default player and even if I do how do I stop playing.

FatMan

Lev FatMan
June 18th, 2001, 08:15 AM
I want to add that I though using ShellExecuteEx, but it seems a very complicated solution. Does any1 has a better one?

thanks.

John G Duffy
June 18th, 2001, 10:48 AM
You might want to take a look at this
'
MCI Sample by Matt Hart vbhelp@matthart.com
'
its download is called mcisamp.zip

John G

Lev FatMan
June 18th, 2001, 10:56 AM
where can I find the file

John G Duffy
June 18th, 2001, 12:57 PM
go to Http://www.MattHart.com it looks like someones home picture file but on the left is a Sample VB code which will take you to Blackbelt.com. Search on MCI Sample and one of the hits will point to MCISample.zip

John G