Solved

How to open Excel File from Oracle Forms 10G

Posted on 2009-07-07
3
2,365 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 35

Accepted Solution

by:
Mark Geerlings earned 500 total points
ID: 24804060
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
ID: 24810116
THanks for Reply

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

Assisted Solution

by:Mark Geerlings
Mark Geerlings earned 500 total points
ID: 24812727
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
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 explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

820 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