Home » Developer & Programmer » Forms » Stop play sound
icon9.gif  Stop play sound [message #217644] Sat, 03 February 2007 17:58 Go to next message
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 #217649 is a reply to message #217644] Sun, 04 February 2007 00:34 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
Please turn off Caps-lock.

Find out what is generating the sound. If you can find what starts it, it should not be very difficult to stop it.

[Edit: typo]

[Updated on: Sun, 04 February 2007 00:34]

Report message to a moderator

Re: STOP PLAY SOUND [message #217673 is a reply to message #217644] Sun, 04 February 2007 08:00 Go to previous messageGo to next message
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 Go to previous messageGo to next message
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 Go to previous messageGo to next message
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

Re: STOP PLAY SOUND [message #217948 is a reply to message #217682] Tue, 06 February 2007 03:26 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Stop pressing the 'enter key' at the end of each line - the editor will wrap the words for you!! Just press it when you want a new paragraph!!

I think that you are out of luck. I can only see read_sound, write_sound, and play_sound it the reference manual.

David
sound [message #596023 is a reply to message #217644] Tue, 17 September 2013 07:57 Go to previous messageGo to next message
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
Re: STOP PLAY SOUND [message #596027 is a reply to message #217948] Tue, 17 September 2013 08:06 Go to previous messageGo to next message
allianz2010
Messages: 101
Registered: October 2009
Location: Pakistan
Senior Member

Dear ossamakamel

please tell me how to solve you your problem.... i also faced the problem similar your problem.... i want to play counting which is entered in item box. e.g: "9876592" but when i play these numbers, just last one will be played not firstly "987659" played, but when i show the message inside the loop then it play all clips. and if i remove the message command from loop then it can't play complete numbers just play the last one.. please help me in this regards....




Re: STOP PLAY SOUND [message #596053 is a reply to message #596027] Tue, 17 September 2013 12:56 Go to previous message
joy_division
Messages: 4963
Registered: February 2005
Location: East Coast USA
Senior Member
Please note that ossamakamel hasn't visited this forum in over 4 years, so I doubt you'll get an answer here.
Previous Topic: can't lunch pl/sql editor in forms11g anymore
Next Topic: Form Builder 6i Crashes
Goto Forum:
  


Current Time: Fri Apr 19 14:05:08 CDT 2024