CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2001
    Location
    Israel
    Posts
    94

    ShellExecute and Terminate

    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


  2. #2
    Join Date
    Feb 2001
    Location
    Israel
    Posts
    94

    Re: ShellExecute and Terminate

    I want to add that I though using ShellExecuteEx, but it seems a very complicated solution. Does any1 has a better one?

    thanks.


  3. #3
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: ShellExecute and Terminate

    You might want to take a look at this
    '
    MCI Sample by Matt Hart [email protected]
    '
    its download is called mcisamp.zip

    John G

  4. #4
    Join Date
    Feb 2001
    Location
    Israel
    Posts
    94

    Re: ShellExecute and Terminate

    where can I find the file



  5. #5
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: ShellExecute and Terminate

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured