Stop play sound [message #217644] |
Sat, 03 February 2007 17:58 |
ossamakamel
Messages: 8 Registered: February 2007
|
Junior Member |
|
|
DEAR ALL
I HAVE A FORM PLAYING SOUND WHEN IT'S OPENED
AND WHEN I CALL ANOTHER FORM WITH SOUND ERROR
"FRM-47201: Cannot play sound" -Unable to play the sound in the requested sound item. The sound output device may be busy. -
SO I WONDER IF THERE IS ANY WAY TO STOP THE SOUND IN THE FIRST FORM WHEN ANY ACTION HAPPENED
THANKS A LOT IN ADVANCE
|
|
|
|
Re: STOP PLAY SOUND [message #217673 is a reply to message #217644] |
Sun, 04 February 2007 08:00 |
ossamakamel
Messages: 8 Registered: February 2007
|
Junior Member |
|
|
Thank you for your reply
I'll try to be more clear
the main form play sound for 60 second ok!
in this time (in the second 35 )maybe another form will be caled automatically -when some action happened -and it contain a sound also (lighnth 3 second)
so that error i told you about will be raise
so i need a code to stop the first sound
i tried
stop_play_sound
stop_sound
did not work
i search every where
hope i made myself clear
|
|
|
Re: STOP PLAY SOUND [message #217678 is a reply to message #217673] |
Sun, 04 February 2007 09:54 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
What is it exactly that plays the sound in the first form? Is it started in the When-New-Form-Instance trigger?
Find out _what_ plays the sound. Find out how it is started, and you will know how to stop it. You then can stop it prior to calling the other form.
|
|
|
Re: STOP PLAY SOUND [message #217682 is a reply to message #217649] |
Sun, 04 February 2007 11:55 |
ossamakamel
Messages: 8 Registered: February 2007
|
Junior Member |
|
|
Dear Frank
yeas an both forms the sound play by
When-New-Form-Instance
and even the second form called by the main form
so my plane is
if that action (to call the second form ) stop the sound of the first form
and then call the second form
so i need the coad
how to stop a sound automatically if any action happened
"By the way i solve it just for now
i chick the action first before i play the sound in the main form
but i don't like that hope to find out the code of stop the sound
cause i need that in many forms "
thanks a lot
[Updated on: Sun, 04 February 2007 11:58] Report message to a moderator
|
|
|
|
sound [message #596023 is a reply to message #217644] |
Tue, 17 September 2013 07:57 |
allianz2010
Messages: 101 Registered: October 2009 Location: Pakistan
|
Senior Member |
|
|
Dear Experts....
i want to play sound (counting 0,1,2,3,4,5,6,7,8,9) but when i play more than one sound clips than it play just last one not play first clips.. please help me in this regards....
Waqas Mehmood
|
|
|
|
|