Overblog
Suivre ce blog
Editer l'article Administration Créer mon blog
7 mars 2006 2 07 /03 /mars /2006 17:03

Purpose

This is a JavaBean that allows to play sound files from the file system.

Sound JavaBean


The Java code

sound.java    soundlist.java      soundloader.java

note : the jar file must be signed


Implementation Class property

      oracle.forms.fd.Sound


The properties you can set

Set the file name to read

Set_Custom_Property( 'BLK.BEAN', 1, 'SET_FILE', 'directory,filename' ) ;


Play the sound

Set_Custom_Property( 'BLK.BEAN', 1, 'PLAY', '' ) ;


The sample dialog

     . Download the sound.zip file
     . Unzip the file
     . copy the sound.jar file in the <ORACLE_HOME>/forms/java directory
     . Edit your /forms/server/formsweb.cfg file
     . Open the SOUND.fmb module (Oracle Forms 9.0.2)
     . Compile all and run the module


Partager cet article

Published by Oracle Forms community - dans Bean - general
commenter cet article

commentaires