Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Close Windows Media Player

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 611
Default Close Windows Media Player

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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP only shows 4 open windows at bottom JR573PUTT Excel Discussion (Misc queries) 2 July 11th 06 12:31 AM
close workbook without closing excel and stop recursive function chris Excel Discussion (Misc queries) 3 July 10th 06 08:23 PM
Page breaks are different in Windows 2000 and Windows XP Bill Allen Excel Discussion (Misc queries) 1 November 23rd 05 04:42 PM
Media Player versus Windows Media Player teepee Excel Discussion (Misc queries) 1 October 14th 05 02:25 AM
Excel shoud not close all active books when clicking close button technomike Excel Discussion (Misc queries) 0 June 10th 05 05:35 PM


All times are GMT +1. The time now is 01:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"