Home » Developer & Programmer » Forms » Sound in form
Sound in form [message #404969] Mon, 25 May 2009 21:47 Go to next message
sethulogin
Messages: 7
Registered: March 2009
Location: Malaysia
Junior Member

Dear Frnds,
I used the below coding in when-button-pressed.

1. declare
2. begin
3. FOR i in 1..3
4. LOOP
5.
6. BELL;
7.
8. SYNCHRONIZE;
9. END LOOP;
10. end;

But i got the error like below when i compiled.

Error 103 at line 4, column 6
Encountered the symbol "" when expecting one of the following

begin declare exit for goto if loop mod null pragma raise
return select update while <an identifier>
<a double-quoted delimited-identifier><a bind-variable><<
close current delete fetch lock insert open rollback savepoint
set sql commit<a single-quoted SQL string>

Pls let me know if anybody knows d root cause of this error.
  • Attachment: BELL.fmb
    (Size: 44.00KB, Downloaded 136 times)
Re: Sound in form [message #405004 is a reply to message #404969] Tue, 26 May 2009 00:58 Go to previous messageGo to next message
Littlefoot
Messages: 20888
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
It is because trigger code contains invalid characters:

./fa/6264/0/

Once you fix (delete) them, everything seems to be OK:

./fa/6265/0/
Re: Sound in form [message #405019 is a reply to message #405004] Tue, 26 May 2009 01:40 Go to previous messageGo to next message
sethulogin
Messages: 7
Registered: March 2009
Location: Malaysia
Junior Member

Working fine. Thanks a lot. Smile
Re: Sound in form [message #412553 is a reply to message #404969] Fri, 10 July 2009 00:08 Go to previous messageGo to next message
vikasg2006
Messages: 78
Registered: March 2006
Location: Dubai
Member
Hi,
Is the same is possible in external speakers. I mean that sound is coming in internal system speaker. I want output in our ext. speaker. any idea how to do that
Re: Sound in form [message #412561 is a reply to message #412553] Fri, 10 July 2009 00:29 Go to previous messageGo to next message
shaz
Messages: 182
Registered: June 2009
Senior Member
I don't think we can play it on external speakers.
If we can then I also want to know the method. Cool
Re: Sound in form [message #412598 is a reply to message #412561] Fri, 10 July 2009 02:10 Go to previous messageGo to next message
Littlefoot
Messages: 20888
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
As far as I can tell, BELL produces sound. It doesn't care about kind of speakers. If your computer (or terminal) has only an internal speaker, then it will ring a bell. If you plug in the headphones, internal speaker's sound will be suppressed but it will ring in headphones. The same goes for external speakers - if they are switched on (and volume adjusted to appropriate level), sound will be heard through external speakers. I don't see the point in this question, actually. Did I misunderstood it?
Re: Sound in form [message #412604 is a reply to message #404969] Fri, 10 July 2009 02:26 Go to previous messageGo to next message
vikasg2006
Messages: 78
Registered: March 2006
Location: Dubai
Member
Littlefoot, actually i already tried, then only i asked. I tried to attach head phone and speaker both but sound still comes from system speaker only.
vikas
Re: Sound in form [message #412611 is a reply to message #412604] Fri, 10 July 2009 02:34 Go to previous messageGo to next message
Littlefoot
Messages: 20888
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Perhaps your sound card doesn't work properly? Did you check its setup (both software and hardware)?

Because, I tried that as well (just a few minutes ago - wrote a form and tested it) and sound comes out of headphones (I don't have external speakers, though, but I believe that they behave the same way).
Re: Sound in form [message #412612 is a reply to message #404969] Fri, 10 July 2009 02:38 Go to previous message
vikasg2006
Messages: 78
Registered: March 2006
Location: Dubai
Member
Oh really then thanks. may be in my company pc hardware/ or s/w not setup properly. I will try in my home and update you. thanks, because if it is working for you in headphone then defiantly works with external speakers also.
vikas
Previous Topic: Istallation Guide Oracle 10g (9.0.4)
Next Topic: Developing Master Forms and details forms with samples
Goto Forum:
  


Current Time: Sat Dec 03 06:01:05 CST 2016

Total time taken to generate the page: 0.08457 seconds