Solved

How to open Excel File from Oracle Forms 10G

Posted on 2009-07-07
3
2,263 Views
Last Modified: 2013-12-19
I want to open an excel sheet from Oracle Forms 10G, I am getting below error
Below is the my Code

declare
AppID PLS_INTEGER;
begin
AppID := DDE.App_Begin('C:\Program Files\Microsoft Office\Office11\EXCEL.EXE c:\files\test.xls',DDE.APP_MODE_NORMAL);
end;

FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-106561

---Any one can help me as this is very urgent for my delivery...

Thanks & Regards
Syed
0
Comment
Question by:Syedhamid
  • 2
3 Comments
 
LVL 34

Accepted Solution

by:
Mark Geerlings earned 500 total points
Comment Utility
Where is the Excel file (test.xls)?  Is it on the application server or on a client machine?  Since Oracle Forms10 runs as web-enabled application only (and not as a client/server app as earlier versions of Forms did) I'm not sure that Forms10 can use files that exist on a client PC.  It may be limited to working with files that are on the application server.
0
 

Author Comment

by:Syedhamid
Comment Utility
THanks for Reply

The File is in Application Server, any other method to call exce file from Forms
0
 
LVL 34

Assisted Solution

by:Mark Geerlings
Mark Geerlings earned 500 total points
Comment Utility
OK, that looks about right to me then.  I've never used the DDE package though in Oracle Forms to open an Excel or Word file.  That always looked to me like more trouble (and more possibilities for problems) than what it might be worth.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now