Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default WindowsMediaPlayer question

hello

I have a very simple macro here very which I need to adapt slightly to
purpose.

It's function is to play an audio file on WindowsMediaPlayer1

The assumption is that WindowsMediaPlayer1 is already playing an audio file
of indeterminate length when this macro is triggered. I simply need to make
it wait till it's finished playing this audio file its already playing
before playing the new one called here, rather than starting to play
immediately.

Sub playaudio()
'something here to wait for WMP to finish what its playing first
UserForm1.WindowsMediaPlayer1.URL = "c:\video\audiofile.wav"
End Sub

Many thanks if you know how


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default WindowsMediaPlayer question

Correction I meant determinate length but at an indeterminate point in the
process of playing it

"teepee" wrote in message
...
hello

I have a very simple macro here very which I need to adapt slightly to
purpose.

It's function is to play an audio file on WindowsMediaPlayer1

The assumption is that WindowsMediaPlayer1 is already playing an audio
file of indeterminate length when this macro is triggered. I simply need
to make it wait till it's finished playing this audio file its already
playing before playing the new one called here, rather than starting to
play immediately.

Sub playaudio()
'something here to wait for WMP to finish what its playing first
UserForm1.WindowsMediaPlayer1.URL = "c:\video\audiofile.wav"
End Sub

Many thanks if you know how



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
Weird WindowsMediaPlayer behaviour teepee[_3_] Excel Discussion (Misc queries) 1 October 26th 08 11:20 PM
where can I see my question and answer? Yesterday I ask a question IP Excel Discussion (Misc queries) 2 May 10th 08 04:08 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM
VBA Question John Excel Discussion (Misc queries) 3 September 26th 05 04:46 AM


All times are GMT +1. The time now is 05:16 AM.

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"