473,396 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to load an audio file in oracle form6i

Hello anyone

I want to load an audio file in oracle form 6i

for example i have a texbox and a button
when textbox='Hello'
and i press the button the specify sound should load

how to do it Plz
Help me
Sep 26 '10 #1

✓ answered by amitpatel66

Try something like this:

Expand|Select|Wrap|Line Numbers
  1. Go_Item('ITEM');
  2. Read_Sound_File('wav file path', 'WAVE', 'ITEM');
  3. Play_Sound('ITEM');
  4.  
  5. --or
  6.  
  7. --The button has a WHEN-BUTTON-PRESSED trigger with the ---following code:
  8.  
  9. ------------
  10. set_custom_property('BLOCK3.PUSH_BUTTON4', 1, 'PLAY', 'FILE:///C:\EAM_original.wav');
  11.  
  12.  

1 5011
amitpatel66
2,367 Expert 2GB
Try something like this:

Expand|Select|Wrap|Line Numbers
  1. Go_Item('ITEM');
  2. Read_Sound_File('wav file path', 'WAVE', 'ITEM');
  3. Play_Sound('ITEM');
  4.  
  5. --or
  6.  
  7. --The button has a WHEN-BUTTON-PRESSED trigger with the ---following code:
  8.  
  9. ------------
  10. set_custom_property('BLOCK3.PUSH_BUTTON4', 1, 'PLAY', 'FILE:///C:\EAM_original.wav');
  11.  
  12.  
Sep 27 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: yagish | last post by:
Hi Techies, Am really new with the Oracle 9i Forms and am searching for a way to perform Load Balancing in Oracle 9i Forms Application. Its not a J2EE application, so cannot go the OC4J way. I...
1
by: laredotornado | last post by:
Hello, I want to play an audio file embedded on my page by clicking on an audio image and the page change to a new page. Is there a cross-browser Javascript way to do this? Right now the code I...
0
by: laredotornado | last post by:
Hello, I want to play an audio file by clicking on an audio icon and not having the page switch out underneath. Right now the code I have is ... <html> <head> <title>Dictionary:...
3
by: abrtlt | last post by:
I would like to have a web page in which, when the user clicks on any of several specific elements, a specific audio file is played, without reloading the page. The specific audio file name is...
1
by: =?Utf-8?B?Qm9iQWNoZ2lsbA==?= | last post by:
I am using Windows Media Player to play my half second audio files one after the other using the code below... My problem comes when I play a second audio file immediately after the first one...
0
by: Rohullah | last post by:
hello How to call sequence in oracle form6i. i call it by this way it give Error. i create Sequence with the name (St_seq) and i call it ON WHEN-BUTTON-PRESS TRIGGER as following.
0
by: Rohullah | last post by:
Hello How to Call.Swf file into oracle form6i? Looking forword. Tanks in advance.
2
by: Rohullah | last post by:
Hello For Example i have two window (window1 and window2)in oracle form6i i want active one window at a time for example window1 is active and i want to active window2 then window1 should...
4
nicebasic
by: nicebasic | last post by:
I have written a small French-English Dictionary using VB. I have come to a serious problem which is new to me. Maybe I didn't notice this problem before, but it's a bad bug in my program. I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.