How do I open an existing document (WORD .doc, Excel .xls, PDF etc.) from Oracle Forms 10g?
I want to be able to open a document sitting in a folder somewhere on the netword when I click a button in Oracle Forms 10g.
To make this simple, I'll assume this is a WORD document and the location of WINWORD.EXE and the document I want to open will be hard-coded.
The attached snippet shows code I obtained elsewhere which I put into a trigger on a button on my form. I readelsewhere that 10g, being web-based may require an additional API like webutil or something, but I cannot find anything clear to me.
When run in my form, it gives the following error:
FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-106561
AppID := DDE.App_Begin('C:\Program Files\Microsoft Office\Office11\WINWORD.EXE c:\files\oui.pdf',DDE.APP_MODE_NORMAL);