|
Re: open exe file from a button [message #279792 is a reply to message #279790] |
Sat, 10 November 2007 05:29   |
alijeyan
Messages: 184 Registered: January 2007 Location: IRAN
|
Senior Member |
|
|
in Trigger WHEN_BUTTON_PRESSED
test this :
DECLARE
APPID PLS_INTEGER;
BEGIN
---- Open Calculator when button pressed
APPID :=DDE.APP_BEGIN ('\path\CALC.EXE',DDE.APP_MODE_Maximized);
END;
ALI
|
|
|
|
Re: open exe file from a button [message #279863 is a reply to message #279790] |
Sun, 11 November 2007 03:12   |
emadnabil
Messages: 179 Registered: August 2007
|
Senior Member |
|
|
Thanks for your replies
i used the host command
but when i run the application and press the button that execute the command host it opens the exe file on the server side not client side
|
|
|
|
|
|
|
Re: open exe file from a button [message #281734 is a reply to message #279790] |
Mon, 19 November 2007 02:57   |
emadnabil
Messages: 179 Registered: August 2007
|
Senior Member |
|
|
thanks for your reply
but i used client_host
in this command
client_host('\\192.168.2.206\D$\SDSSREPORTS.EXE');
and in compilation it give me:
identifier 'client_host' must be declared
|
|
|
|
Re: open exe file from a button [message #281806 is a reply to message #279790] |
Mon, 19 November 2007 06:33   |
emadnabil
Messages: 179 Registered: August 2007
|
Senior Member |
|
|
thanks for your reply
is this syntax command correct
client_host('\\192.168.2.206\D$\SDSSREPORTS.EXE');
do i need to a declartion
i got an error of invalid identifier
when compile this code
|
|
|
|
|
|
Re: open exe file from a button [message #282179 is a reply to message #279790] |
Wed, 21 November 2007 01:28   |
emadnabil
Messages: 179 Registered: August 2007
|
Senior Member |
|
|
thanks for your reply
'DDE.APP_BEGIN' is openning the text file on application server
not on the client PC
and again when i used 'client_host' but it when i run the application it gives me a message of "please achnowledge" in the runtime
|
|
|
|
Re: open exe file from a button [message #282469 is a reply to message #279790] |
Thu, 22 November 2007 01:36   |
emadnabil
Messages: 179 Registered: August 2007
|
Senior Member |
|
|
I am using forms Version 10.1.2.0.2
the code is on trigger "WHEN-TREE-NODE-ACTIVATED"
iF :INTRO.TREE_VAL=33 then
DECLARE
U VARCHAR2(10);
BEGIN
SELECT S.USER_ID INTO U
FROM FND_USER S
WHERE S.USER_NAME=:Global.uusername;
INSERT INTO REP_HISTORY VALUES ('Daily Sales Report.rdf',U,:Global.uusername,SYSDATE);
COMMIT ;
client_host('\\192.168.2.206\D$\SDSSREPORTS.EXE');
end;
end if;
when i run the application it gives me a message of "please achnowledge" in the runtime
|
|
|
|
Re: open exe file from a button [message #282917 is a reply to message #279790] |
Sun, 25 November 2007 01:38   |
emadnabil
Messages: 179 Registered: August 2007
|
Senior Member |
|
|
thanks for your reply
i made a form with one button
when pressing on this button it should execute the command of client_host
but i got this errors
the webutil object group is not available in this form
web util cannot work
webutil error : oracle.forms.webutil.host.hostbean not found
WEBUITL_HOST. execute will not work
|
|
|
|
|
|