PC Review


Reply
Thread Tools Rate Thread

Close Windows Media Player

 
 
=?Utf-8?B?Q29yZGVsbA==?=
Guest
Posts: n/a
 
      29th Jan 2007
I'm using Excel to randomly play various music files and then generate a
question about the song being played to quiz the student of his knowledge of
the music. I'm using Shell to open Media Player and play an mp3 file.

I'm trying to stop the music after the student answers the question so I can
generate the next question (not always a question with a audio).

I'd like to either close Media Player or stop the song. I've searched vba
help and this thread unsuccesfully. Any ideas?

Thanks
--
Cordell
 
Reply With Quote
 
 
 
 
Earl Kiosterud
Guest
Posts: n/a
 
      30th Jan 2007
Cordell,

I have a "Juke Box" Excel program I use to play mp3's in live music gigs. I
shell to WinAmp with the name of the mp3 to play. To stop it, I send it a
very short mp3 of silence by shelling to WinAmp again. Might work with
Media Player too. WinAmp even dutifully does a quick fade. Nice. You're
welcome to look at it. It's at
http://www.smokeylake.com/excel/juke_box.htm. It's not very pretty. I
developed it as an experiment, and it worked so well right off I started
using it on gigs over a year ago, but never really cleaned it up.
--
Earl Kiosterud
www.smokeylake.com

-----------------------------------------------------------------------
"Cordell" <(E-Mail Removed)> wrote in message
news:F85FAA60-B243-47C7-8D0A-(E-Mail Removed)...
> I'm using Excel to randomly play various music files and then generate a
> question about the song being played to quiz the student of his knowledge
> of
> the music. I'm using Shell to open Media Player and play an mp3 file.
>
> I'm trying to stop the music after the student answers the question so I
> can
> generate the next question (not always a question with a audio).
>
> I'd like to either close Media Player or stop the song. I've searched vba
> help and this thread unsuccesfully. Any ideas?
>
> Thanks
> --
> Cordell



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to close windows media player window ? Lorenzo Microsoft Dot NET Compact Framework 4 29th May 2007 04:30 PM
Windows Media Player has encountered a problem and needs to close =?Utf-8?B?bm9ybWFuc2R5bGFu?= Windows XP Help 3 25th Jan 2007 09:14 PM
Windows Media Player won't go away, keeps reopening when I close it. noah53@juno.com Windows XP General 0 22nd Jul 2006 02:18 AM
Windows Media Player doesn't close =?Utf-8?B?bWlkbmlnaHRibGFkZQ==?= Windows XP Music 1 30th Apr 2005 04:10 PM
WIndows media player keeps playing after close! Jamie Norton Windows XP General 0 7th Jul 2004 02:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:37 PM.