+ Reply to Thread
Results 1 to 5 of 5

Closing Windows Media Player from Excel?

  1. #1
    Registered User
    Join Date
    11-08-2013
    Location
    Sacramento, California
    MS-Off Ver
    Excel 2010
    Posts
    25

    Closing Windows Media Player from Excel?

    Hi All,

    I used this to play an embedded song for easy listening in my sheet
    Please Login or Register  to view this content.
    I'm wondering if there is any easy way to, with another command button click, simply close windows media player. I can't think of another simple way to stop the song.
    I am new to shell commands. Is this the key here?

    Thanks in advance!

  2. #2
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: Closing Windows Media Player from Excel?

    @BoSonic ,

    you can try this :

    Please Login or Register  to view this content.
    This basically kills that task. Replace calc.exe with the file name of the medial player that you are using.

    Hope this helps.
    Happy Computing ,

    Xlbiznes.

    To show your appreciation please click *

  3. #3
    Registered User
    Join Date
    11-08-2013
    Location
    Sacramento, California
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Closing Windows Media Player from Excel?

    Hi xlbiznes,

    Thanks for your help. I used the actual process name wmplayer.exe as the file location wasn't working, but you made it work out perfectly. Later on I will have to find a better method if windows media player isn't the default player. I think it may not be so easy for embedded object.

    This totally rocks for now tho! Thanks so much!

  4. #4
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: Closing Windows Media Player from Excel?

    @BoSonic,

    Glad, i could help. Please mark this thread as solved. If you are happy with the solution provided.

  5. #5
    Registered User
    Join Date
    08-01-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Closing Windows Media Player from Excel?

    way late, and way after the fact, but thanks. I actually needed to know how to kill calc.exe after I had called it out in a shell. This worked easily.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] activex windows media player
    By zaky in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2013, 02:00 AM
  2. [SOLVED] Windows Media Player
    By zaky in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2013, 03:38 PM
  3. [SOLVED] Media Player versus Windows Media Player
    By teepee in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-15-2005, 02:05 PM
  4. Media Player versus Windows Media Player
    By teepee in forum Excel General
    Replies: 1
    Last Post: 10-13-2005, 10:05 PM
  5. Media Player versus Windows Media Player
    By teepee in forum Excel General
    Replies: 1
    Last Post: 10-13-2005, 10:05 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1