Link to home
Start Free TrialLog in
Avatar of venu3108
venu3108Flag for India

asked on

calling notepad.exe from 10g forms in 10 IAS

HI
i need to call notepad.exe from 10g forms.

tried using host command but its not working. even i  tried
client_host('cmd /c start "" /wait "editplus.exe""');.
do let me know the process to call .exe file from forms in 10g ias
Avatar of Helena Marková
Helena Marková
Flag of Slovakia image

You have to use WebUtil.pll library. It is part of Forms. It is well described in the Forms on-line help.
This is an extraction from "Functions in WebUtil" topic in the on-line help:
Running HOST Commands
 If you have a host command of the form: HOST ('DEL c:\temp.txt') This will work in both client/server and Web deployed environments, but in web deployed environments the command runs on the middle tier.
 If you change this to: CLIENT_HOST('DEL c:\temp.txt') This does not work.
 You must use: CLIENT_HOST('cmd /c DEL c:\temp.txt');
You must ensure that the command will run from the Start |Run box on Windows.

I hope this will be a little help for you.
Avatar of venu3108

ASKER

hi

i have added webutil library and  i wrote in the when button pressed trigger--

the following is the simple code
 

--CLIENT_HOST('CALL CALC.EXE', NO_SCREEN);*/

CLIENT_HOST('cmd /c DEL c:\temp.txt');
message('Ji');
message('Ji');

plz let me know any configurations need to be updated apart from attaching library.


Rgds
Venu
hi

i have done the configurations as per the document, but need Jacob 1.0.8 for 10g version 10.1.+ . plz attach the file if any.

Rgds
ASKER CERTIFIED SOLUTION
Avatar of Helena Marková
Helena Marková
Flag of Slovakia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks for support