Home » Developer & Programmer » Forms » How to Play Sound from a Forms
How to Play Sound from a Forms [message #282082] Tue, 20 November 2007 16:37 Go to next message
jesliej
Messages: 4
Registered: July 2006
Location: Longview, WA
Junior Member
Hi

We have a requirement to play sound from a FORM based on some validation and stop the sound when the user activates any control on the form (When mouse is moved)

If any of you have worked on forms that plays sound, could you please let me know how this could be done in forms. A sample code will be of great help.

Thanks
Simpson
Re: How to Play Sound from a Forms [message #282100 is a reply to message #282082] Tue, 20 November 2007 20:33 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
What version of Forms are you running?

David
Re: How to Play Sound from a Forms [message #282143 is a reply to message #282100] Wed, 21 November 2007 00:13 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
It appears to be Forms [32 Bit] Version 9.0.4.0.19.
Re: How to Play Sound from a Forms [message #282215 is a reply to message #282082] Wed, 21 November 2007 03:37 Go to previous messageGo to next message
hamidmahmood
Messages: 30
Registered: August 2006
Member


on when mouse click tirgger



Read_Sound_File('c:\d.wav', 'wav', 'emp_pics.sound');
Go_Item('emp_pics.sound ');
play_Sound('emp_pics.sound');
Re: How to Play Sound from a Forms [message #282248 is a reply to message #282215] Wed, 21 November 2007 04:31 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
What are 'read_sound_file' and 'play_sound'? Forms Online Help System doesn't know they exist.

/forum/fa/3422/0/
Re: How to Play Sound from a Forms [message #282346 is a reply to message #282082] Wed, 21 November 2007 10:59 Go to previous messageGo to next message
jesliej
Messages: 4
Registered: July 2006
Location: Longview, WA
Junior Member
Hi,

Forms 10g
Oracle Database 9i

I don't find any thing related to playing sound in forms help. From few posts in OTN looks like it is possible using Java Beans !!!

Any help!

Thanks
Simpson
Re: How to Play Sound from a Forms [message #282406 is a reply to message #282346] Wed, 21 November 2007 22:55 Go to previous messageGo to next message
hamidmahmood
Messages: 30
Registered: August 2006
Member
i use this oracle 9i and developer 6i it work on it
Re: How to Play Sound from a Forms [message #282423 is a reply to message #282406] Wed, 21 November 2007 23:53 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Oracle9i Forms Developer and Forms Services
Migrating Forms Applications from Forms6i
Release 9.0.2 Patch 1 for Windows and UNIX
October 2002
Part No. B10171-01

says:
Obsolete              Built-in Migration Notes
READ_SOUND_FILE       No migration path or replacement functionality.


Go with a Java bean approach. Samples of other Java stuff can be found at http://www.oracle.com/technology/sample_code/products/forms/index.html

David

[Updated on: Wed, 21 November 2007 23:54]

Report message to a moderator

Previous Topic: Use of OLE Container in Web Environment
Next Topic: [SOLVED] Set_Item_Instance Property - FRM-41384
Goto Forum:
  


Current Time: Sun Feb 02 22:09:02 CST 2025