Home » Developer & Programmer » Forms » calling exe from report
calling exe from report [message #129294] Sat, 23 July 2005 06:47 Go to next message
yogeshwar_cool
Messages: 32
Registered: July 2005
Location: india
Member

I want to run an exe from a report
how can I achieve this.
Re: calling exe from report [message #129700 is a reply to message #129294] Tue, 26 July 2005 05:18 Go to previous message
misragopal
Messages: 125
Registered: June 2005
Location: New Delhi, india
Senior Member

Hi Yogeshwar,
use one of function of Dynamic data exchange package.
DDE.APP_BEGIN (Command, Mode)

Command = VARCHAR2 : command line for executing a program
Mode = PLS_INTEGER : application window starting mode
1. DDE.APP_MODE_NORMAL - Start application window in normal size.
2.DDE.APP_MODE_MINIMIZED - Start application window in minimized size.
3.DDE.APP_MODE_MAXIMIZED - Start application window in maximized size.

DECLARE
lv_exe PLS_INTEGER;
BEGIN 
lv_exe := DDE.App_Begin('C:\editplus\editplus2.exe', DDE.APP_MODE_MINIMIZED);
END;
Previous Topic: opening html file made in sql plus from oracle forms
Next Topic: how to use text_io and signature
Goto Forum:
  


Current Time: Thu Sep 19 23:13:14 CDT 2024