Home » Developer & Programmer » Forms » Launch application from OracleForm in Unix OS
Launch application from OracleForm in Unix OS [message #463429] Thu, 01 July 2010 05:32 Go to next message
peppebozzo
Messages: 17
Registered: March 2010
Junior Member
my problem is this. I created the java classes using itext to create a document library. Rtf, or. Odt. I integrated classes in Oralce form and everything works. I created a file. Odt application server on a folder and now only remains for me to open the file. The roads are two:
1. Directly from the server, you can?
2. From the client using the API or openoffice launching the executable with cmd?
Oracle Forms is a command to transfer files on the client and run the executable swriter of openoffice?

[MERGED by LF]

[Updated on: Mon, 05 July 2010 14:55] by Moderator

Report message to a moderator

Re: Executable swriter from OracleForm [message #463658 is a reply to message #463429] Fri, 02 July 2010 07:58 Go to previous messageGo to next message
peppebozzo
Messages: 17
Registered: March 2010
Junior Member
Edit: I find one solution:
l_document VARCHAR2(256) := 'C:\file.odt';
l_program VARCHAR2(30) := 'SOFFICE.EXE';
Client_Host('CMD /C START "Grid" '||l_program||' "'||l_document||'"');

this work only windows system. For unix/linux system wich command use??
Launch application from OracleForm in Unix OS [message #463918 is a reply to message #463429] Mon, 05 July 2010 03:23 Go to previous messageGo to next message
peppebozzo
Messages: 17
Registered: March 2010
Junior Member
Hi, I want to know if there is a command OracleForm to find out which operating system runs on the client and how to set the path and the command to run an application on Linux OS
Example: I use this under windows
Client_Host ('CMD / C START "Grid"' | | l_program | | '"' | | l_document ||'"');
Re: Launch application from OracleForm in Unix OS [message #464309 is a reply to message #463918] Wed, 07 July 2010 06:30 Go to previous messageGo to next message
peppebozzo
Messages: 17
Registered: March 2010
Junior Member
help ?
Re: Launch application from OracleForm in Unix OS [message #464311 is a reply to message #464309] Wed, 07 July 2010 06:41 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Check whether this discussion helps. There are a few options mentioned - choose the one you find the most useful.

Otherwise - well, Google for it (just like I did) (what stopped you from doing that during the last week, anyway?).
Previous Topic: Copy and open Command in Oracle 10g Linux (Minut, Ubuntu)
Next Topic: How can i update form 6i to 10g
Goto Forum:
  


Current Time: Thu Sep 19 17:12:32 CDT 2024