Solved

How to open Excel File from Oracle Forms 10G

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
Via a live example, show how to take different types of Oracle backups using RMAN.

914 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

21 Experts available now in Live!

Get 1:1 Help Now